X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FResult_ReplyShortChannelIdsEndDecodeErrorZ.java;h=62cb3e03320ec3a47a6e2ce640f5449f38fa32e1;hb=ca313f2eee377bec222fa82b2939751fa9eab32e;hp=1fd7ff0c11292f52a090d8c1626a22a0861ea8e2;hpb=5e9de82b3a7712a41189756d9d16d946142b2ac5;p=ldk-java diff --git a/src/main/java/org/ldk/structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.java b/src/main/java/org/ldk/structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.java index 1fd7ff0c..62cb3e03 100644 --- a/src/main/java/org/ldk/structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.java +++ b/src/main/java/org/ldk/structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.java @@ -45,7 +45,7 @@ public class Result_ReplyShortChannelIdsEndDecodeErrorZ extends CommonBase { /** * Creates a new CResult_ReplyShortChannelIdsEndDecodeErrorZ in the success state. */ - public static Result_ReplyShortChannelIdsEndDecodeErrorZ ok(ReplyShortChannelIdsEnd o) { + public static Result_ReplyShortChannelIdsEndDecodeErrorZ ok(org.ldk.structs.ReplyShortChannelIdsEnd o) { long ret = bindings.CResult_ReplyShortChannelIdsEndDecodeErrorZ_ok(o == null ? 0 : o.ptr); Reference.reachabilityFence(o); if (ret >= 0 && ret <= 4096) { return null; } @@ -57,11 +57,12 @@ public class Result_ReplyShortChannelIdsEndDecodeErrorZ extends CommonBase { /** * Creates a new CResult_ReplyShortChannelIdsEndDecodeErrorZ in the error state. */ - public static Result_ReplyShortChannelIdsEndDecodeErrorZ err(DecodeError e) { + public static Result_ReplyShortChannelIdsEndDecodeErrorZ err(org.ldk.structs.DecodeError e) { long ret = bindings.CResult_ReplyShortChannelIdsEndDecodeErrorZ_err(e.ptr); Reference.reachabilityFence(e); if (ret >= 0 && ret <= 4096) { return null; } Result_ReplyShortChannelIdsEndDecodeErrorZ ret_hu_conv = Result_ReplyShortChannelIdsEndDecodeErrorZ.constr_from_ptr(ret); + if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(e); }; return ret_hu_conv; }