X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FResult_InvoiceFeaturesDecodeErrorZ.ts;h=e86d913763b000cc8eed0161bb055fbfae481133;hb=f3e670e9341decac613d33fc52febf19cea32f20;hp=1cc8765431e42757136536bc2e62b128a566a10c;hpb=e30b350e325e7d517ea744578876d473839ad495;p=ldk-java diff --git a/ts/structs/Result_InvoiceFeaturesDecodeErrorZ.ts b/ts/structs/Result_InvoiceFeaturesDecodeErrorZ.ts index 1cc87654..e86d9137 100644 --- a/ts/structs/Result_InvoiceFeaturesDecodeErrorZ.ts +++ b/ts/structs/Result_InvoiceFeaturesDecodeErrorZ.ts @@ -9,7 +9,7 @@ public class Result_InvoiceFeaturesDecodeErrorZ extends CommonBase { } static Result_InvoiceFeaturesDecodeErrorZ constr_from_ptr(long ptr) { - if (bindings.LDKCResult_InvoiceFeaturesDecodeErrorZ_result_ok(ptr)) { + if (bindings.CResult_InvoiceFeaturesDecodeErrorZ_is_ok(ptr)) { return new Result_InvoiceFeaturesDecodeErrorZ_OK(null, ptr); } else { return new Result_InvoiceFeaturesDecodeErrorZ_Err(null, ptr); @@ -49,4 +49,9 @@ public class Result_InvoiceFeaturesDecodeErrorZ extends CommonBase { return ret_hu_conv; } + public boolean is_ok() { + boolean ret = bindings.CResult_InvoiceFeaturesDecodeErrorZ_is_ok(this.ptr); + return ret; + } + }