X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-java;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FResult_HTLCUpdateDecodeErrorZ.java;h=1dfa8b79d045cd909a81bffce7a49a8461a9f71f;hp=1a5cc8cfd4f72a8209ec6a49a6d213cc4d4b311a;hb=b6cc0960eaee5a5bbc7fde79a56152d6dcd649d8;hpb=fb06c6af463da9aa188980c750f787f5e936634a diff --git a/src/main/java/org/ldk/structs/Result_HTLCUpdateDecodeErrorZ.java b/src/main/java/org/ldk/structs/Result_HTLCUpdateDecodeErrorZ.java index 1a5cc8cf..1dfa8b79 100644 --- a/src/main/java/org/ldk/structs/Result_HTLCUpdateDecodeErrorZ.java +++ b/src/main/java/org/ldk/structs/Result_HTLCUpdateDecodeErrorZ.java @@ -43,7 +43,7 @@ public class Result_HTLCUpdateDecodeErrorZ extends CommonBase { /** * Creates a new CResult_HTLCUpdateDecodeErrorZ in the success state. */ - public static Result_HTLCUpdateDecodeErrorZ constructor_ok(HTLCUpdate o) { + public static Result_HTLCUpdateDecodeErrorZ ok(HTLCUpdate o) { long ret = bindings.CResult_HTLCUpdateDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1); Result_HTLCUpdateDecodeErrorZ ret_hu_conv = Result_HTLCUpdateDecodeErrorZ.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(o); @@ -53,7 +53,7 @@ public class Result_HTLCUpdateDecodeErrorZ extends CommonBase { /** * Creates a new CResult_HTLCUpdateDecodeErrorZ in the error state. */ - public static Result_HTLCUpdateDecodeErrorZ constructor_err(DecodeError e) { + public static Result_HTLCUpdateDecodeErrorZ err(DecodeError e) { long ret = bindings.CResult_HTLCUpdateDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1); Result_HTLCUpdateDecodeErrorZ ret_hu_conv = Result_HTLCUpdateDecodeErrorZ.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(e);