Bindings updates
[ldk-java] / src / main / java / org / ldk / structs / Result_UnsignedNodeAnnouncementDecodeErrorZ.java
index 7493f14ebe3101df4599601f876ebc471edd6520..0e981e5ba506d5dcc8e1420ad90f9456b6a4c0a0 100644 (file)
@@ -25,6 +25,7 @@ public class Result_UnsignedNodeAnnouncementDecodeErrorZ extends CommonBase {
                        super(_dummy, ptr);
                        long res = bindings.LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ_get_ok(ptr);
                        UnsignedNodeAnnouncement res_hu_conv = new UnsignedNodeAnnouncement(null, res);
+                       res_hu_conv.ptrs_to.add(this);
                        this.res = res_hu_conv;
                }
                public Result_UnsignedNodeAnnouncementDecodeErrorZ_OK(UnsignedNodeAnnouncement res) {
@@ -39,6 +40,7 @@ public class Result_UnsignedNodeAnnouncementDecodeErrorZ extends CommonBase {
                        super(_dummy, ptr);
                        long err = bindings.LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ_get_err(ptr);
                        DecodeError err_hu_conv = new DecodeError(null, err);
+                       err_hu_conv.ptrs_to.add(this);
                        this.err = err_hu_conv;
                }
                public Result_UnsignedNodeAnnouncementDecodeErrorZ_Err(DecodeError err) {