X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FResult_UnsignedNodeAnnouncementDecodeErrorZ.ts;h=9bf0f9e589570ca7e25410ff5fa2c31244d32bb6;hb=fed2245c60159f6c074c9ed5c0f3ce273ad9841b;hp=7c387223f31a1144eedc147fd0dd5d9fbcb4d2b2;hpb=e9c2970adecaa14b3e83e11eb160a7bcbdae20da;p=ldk-java diff --git a/ts/structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.ts b/ts/structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.ts index 7c387223..9bf0f9e5 100644 --- a/ts/structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.ts +++ b/ts/structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.ts @@ -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) {