X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.ts;h=91789ad3bc162fc9f10ae130f282d91574a84108;hb=f3e670e9341decac613d33fc52febf19cea32f20;hp=86f9d9f80007bd43bacc1696089d196000364b6e;hpb=e30b350e325e7d517ea744578876d473839ad495;p=ldk-java diff --git a/ts/structs/Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.ts b/ts/structs/Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.ts index 86f9d9f8..91789ad3 100644 --- a/ts/structs/Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.ts +++ b/ts/structs/Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.ts @@ -9,7 +9,7 @@ public class Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ extends CommonB } static Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ constr_from_ptr(long ptr) { - if (bindings.LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_result_ok(ptr)) { + if (bindings.CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_is_ok(ptr)) { return new Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_OK(null, ptr); } else { return new Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_Err(null, ptr); @@ -49,4 +49,9 @@ public class Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ extends CommonB return ret_hu_conv; } + public boolean is_ok() { + boolean ret = bindings.CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_is_ok(this.ptr); + return ret; + } + }