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