X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FResult_ChannelAnnouncementDecodeErrorZ.java;fp=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FResult_ChannelAnnouncementDecodeErrorZ.java;h=5121b6dbbe26b3b2812ae7404c6b966e717755ab;hb=0f5027835d5a668a9b296f6d9e0fe894d3a6956d;hp=2ad972832bb753712808036b50ff3e957d9c2418;hpb=a77a2856c7cd010a7b478cce793f7c9f999284d8;p=ldk-java diff --git a/src/main/java/org/ldk/structs/Result_ChannelAnnouncementDecodeErrorZ.java b/src/main/java/org/ldk/structs/Result_ChannelAnnouncementDecodeErrorZ.java index 2ad97283..5121b6db 100644 --- a/src/main/java/org/ldk/structs/Result_ChannelAnnouncementDecodeErrorZ.java +++ b/src/main/java/org/ldk/structs/Result_ChannelAnnouncementDecodeErrorZ.java @@ -43,7 +43,7 @@ public class Result_ChannelAnnouncementDecodeErrorZ extends CommonBase { /** * Creates a new CResult_ChannelAnnouncementDecodeErrorZ in the success state. */ - public static Result_ChannelAnnouncementDecodeErrorZ constructor_ok(ChannelAnnouncement o) { + public static Result_ChannelAnnouncementDecodeErrorZ ok(ChannelAnnouncement o) { long ret = bindings.CResult_ChannelAnnouncementDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1); Result_ChannelAnnouncementDecodeErrorZ ret_hu_conv = Result_ChannelAnnouncementDecodeErrorZ.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(o); @@ -53,7 +53,7 @@ public class Result_ChannelAnnouncementDecodeErrorZ extends CommonBase { /** * Creates a new CResult_ChannelAnnouncementDecodeErrorZ in the error state. */ - public static Result_ChannelAnnouncementDecodeErrorZ constructor_err(DecodeError e) { + public static Result_ChannelAnnouncementDecodeErrorZ err(DecodeError e) { long ret = bindings.CResult_ChannelAnnouncementDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1); Result_ChannelAnnouncementDecodeErrorZ ret_hu_conv = Result_ChannelAnnouncementDecodeErrorZ.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(e);