Bindings updates
[ldk-java] / ts / structs / Result_ReplyChannelRangeDecodeErrorZ.ts
index 133c2edafb080cdbea24395e162dd29dc767ec56..2fd3593e4ec1691d1d10ca8a98f6c4509685b6c4 100644 (file)
@@ -21,6 +21,7 @@ public class Result_ReplyChannelRangeDecodeErrorZ extends CommonBase {
                        super(_dummy, ptr);
                        number res = bindings.LDKCResult_ReplyChannelRangeDecodeErrorZ_get_ok(ptr);
                        const res_hu_conv: ReplyChannelRange = new ReplyChannelRange(null, res);
+                       res_hu_conv.ptrs_to.add(this);
                        this.res = res_hu_conv;
                }
                public Result_ReplyChannelRangeDecodeErrorZ_OK(ReplyChannelRange res) {
@@ -35,6 +36,7 @@ public class Result_ReplyChannelRangeDecodeErrorZ extends CommonBase {
                        super(_dummy, ptr);
                        number err = bindings.LDKCResult_ReplyChannelRangeDecodeErrorZ_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_ReplyChannelRangeDecodeErrorZ_Err(DecodeError err) {