X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FResult_ChannelUpdateDecodeErrorZ.java;fp=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FResult_ChannelUpdateDecodeErrorZ.java;h=532d6c6d2d1edf6a680125e92c0d92bd87a70476;hb=0f5027835d5a668a9b296f6d9e0fe894d3a6956d;hp=c9a36447ed2dca0bc2d1fc5f45462347809c6071;hpb=a77a2856c7cd010a7b478cce793f7c9f999284d8;p=ldk-java diff --git a/src/main/java/org/ldk/structs/Result_ChannelUpdateDecodeErrorZ.java b/src/main/java/org/ldk/structs/Result_ChannelUpdateDecodeErrorZ.java index c9a36447..532d6c6d 100644 --- a/src/main/java/org/ldk/structs/Result_ChannelUpdateDecodeErrorZ.java +++ b/src/main/java/org/ldk/structs/Result_ChannelUpdateDecodeErrorZ.java @@ -43,7 +43,7 @@ public class Result_ChannelUpdateDecodeErrorZ extends CommonBase { /** * Creates a new CResult_ChannelUpdateDecodeErrorZ in the success state. */ - public static Result_ChannelUpdateDecodeErrorZ constructor_ok(ChannelUpdate o) { + public static Result_ChannelUpdateDecodeErrorZ ok(ChannelUpdate o) { long ret = bindings.CResult_ChannelUpdateDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1); Result_ChannelUpdateDecodeErrorZ ret_hu_conv = Result_ChannelUpdateDecodeErrorZ.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(o); @@ -53,7 +53,7 @@ public class Result_ChannelUpdateDecodeErrorZ extends CommonBase { /** * Creates a new CResult_ChannelUpdateDecodeErrorZ in the error state. */ - public static Result_ChannelUpdateDecodeErrorZ constructor_err(DecodeError e) { + public static Result_ChannelUpdateDecodeErrorZ err(DecodeError e) { long ret = bindings.CResult_ChannelUpdateDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1); Result_ChannelUpdateDecodeErrorZ ret_hu_conv = Result_ChannelUpdateDecodeErrorZ.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(e);