Bindings updates
[ldk-java] / ts / structs / Result_QueryShortChannelIdsDecodeErrorZ.ts
index 546feb8c171eac34c2a3553bc7687fedbdcb9038..b699612e3d3222530d824f023ec6bb30ca5f904a 100644 (file)
@@ -21,6 +21,7 @@ public class Result_QueryShortChannelIdsDecodeErrorZ extends CommonBase {
                        super(_dummy, ptr);
                        number res = bindings.LDKCResult_QueryShortChannelIdsDecodeErrorZ_get_ok(ptr);
                        const res_hu_conv: QueryShortChannelIds = new QueryShortChannelIds(null, res);
+                       res_hu_conv.ptrs_to.add(this);
                        this.res = res_hu_conv;
                }
                public Result_QueryShortChannelIdsDecodeErrorZ_OK(QueryShortChannelIds res) {
@@ -35,6 +36,7 @@ public class Result_QueryShortChannelIdsDecodeErrorZ extends CommonBase {
                        super(_dummy, ptr);
                        number err = bindings.LDKCResult_QueryShortChannelIdsDecodeErrorZ_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_QueryShortChannelIdsDecodeErrorZ_Err(DecodeError err) {