Bindings updates
[ldk-java] / ts / structs / Result_UnsignedChannelAnnouncementDecodeErrorZ.ts
index b38975ef279c0751ad3e33cec44ae3dbc1e7624f..4d1dab8eb3f3391f16f313a12cb016eff465af35 100644 (file)
@@ -21,6 +21,7 @@ public class Result_UnsignedChannelAnnouncementDecodeErrorZ extends CommonBase {
                        super(_dummy, ptr);
                        number res = bindings.LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ_get_ok(ptr);
                        const res_hu_conv: UnsignedChannelAnnouncement = new UnsignedChannelAnnouncement(null, res);
+                       res_hu_conv.ptrs_to.add(this);
                        this.res = res_hu_conv;
                }
                public Result_UnsignedChannelAnnouncementDecodeErrorZ_OK(UnsignedChannelAnnouncement res) {
@@ -35,6 +36,7 @@ public class Result_UnsignedChannelAnnouncementDecodeErrorZ extends CommonBase {
                        super(_dummy, ptr);
                        number err = bindings.LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ_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_UnsignedChannelAnnouncementDecodeErrorZ_Err(DecodeError err) {