Bindings updates
[ldk-java] / ts / structs / Result_UnsignedNodeAnnouncementDecodeErrorZ.ts
index 7c387223f31a1144eedc147fd0dd5d9fbcb4d2b2..9bf0f9e589570ca7e25410ff5fa2c31244d32bb6 100644 (file)
@@ -21,6 +21,7 @@ public class Result_UnsignedNodeAnnouncementDecodeErrorZ extends CommonBase {
                        super(_dummy, ptr);
                        number res = bindings.LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ_get_ok(ptr);
                        const res_hu_conv: UnsignedNodeAnnouncement = new UnsignedNodeAnnouncement(null, res);
+                       res_hu_conv.ptrs_to.add(this);
                        this.res = res_hu_conv;
                }
                public Result_UnsignedNodeAnnouncementDecodeErrorZ_OK(UnsignedNodeAnnouncement res) {
@@ -35,6 +36,7 @@ public class Result_UnsignedNodeAnnouncementDecodeErrorZ extends CommonBase {
                        super(_dummy, ptr);
                        number err = bindings.LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ_get_err(ptr);
                        const err_hu_conv: DecodeError = new DecodeError(null, err);
+                       err_hu_conv.ptrs_to.add(this);
                        this.err = err_hu_conv;
                }
                public Result_UnsignedNodeAnnouncementDecodeErrorZ_Err(DecodeError err) {