X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FResult_ChannelConfigDecodeErrorZ.java;h=b5f2ee1fae7f7156b44608f5373b1aad3dc6fd95;hb=b6cc0960eaee5a5bbc7fde79a56152d6dcd649d8;hp=344753d6bfddfac8c4ab36e0d197849487f24d76;hpb=fb06c6af463da9aa188980c750f787f5e936634a;p=ldk-java diff --git a/src/main/java/org/ldk/structs/Result_ChannelConfigDecodeErrorZ.java b/src/main/java/org/ldk/structs/Result_ChannelConfigDecodeErrorZ.java index 344753d6..b5f2ee1f 100644 --- a/src/main/java/org/ldk/structs/Result_ChannelConfigDecodeErrorZ.java +++ b/src/main/java/org/ldk/structs/Result_ChannelConfigDecodeErrorZ.java @@ -43,7 +43,7 @@ public class Result_ChannelConfigDecodeErrorZ extends CommonBase { /** * Creates a new CResult_ChannelConfigDecodeErrorZ in the success state. */ - public static Result_ChannelConfigDecodeErrorZ constructor_ok(ChannelConfig o) { + public static Result_ChannelConfigDecodeErrorZ ok(ChannelConfig o) { long ret = bindings.CResult_ChannelConfigDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1); Result_ChannelConfigDecodeErrorZ ret_hu_conv = Result_ChannelConfigDecodeErrorZ.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(o); @@ -53,7 +53,7 @@ public class Result_ChannelConfigDecodeErrorZ extends CommonBase { /** * Creates a new CResult_ChannelConfigDecodeErrorZ in the error state. */ - public static Result_ChannelConfigDecodeErrorZ constructor_err(DecodeError e) { + public static Result_ChannelConfigDecodeErrorZ err(DecodeError e) { long ret = bindings.CResult_ChannelConfigDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1); Result_ChannelConfigDecodeErrorZ ret_hu_conv = Result_ChannelConfigDecodeErrorZ.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(e);