Bindings updates
[ldk-java] / ts / structs / Result_UnsignedChannelUpdateDecodeErrorZ.ts
index ecbde1b6e65bb942bf71189b5cd297d06c4b71d5..c9f8fca10a705baf5e473d1606deb75c22c2ae69 100644 (file)
@@ -21,6 +21,7 @@ public class Result_UnsignedChannelUpdateDecodeErrorZ extends CommonBase {
                        super(_dummy, ptr);
                        number res = bindings.LDKCResult_UnsignedChannelUpdateDecodeErrorZ_get_ok(ptr);
                        const res_hu_conv: UnsignedChannelUpdate = new UnsignedChannelUpdate(null, res);
+                       res_hu_conv.ptrs_to.add(this);
                        this.res = res_hu_conv;
                }
                public Result_UnsignedChannelUpdateDecodeErrorZ_OK(UnsignedChannelUpdate res) {
@@ -35,6 +36,7 @@ public class Result_UnsignedChannelUpdateDecodeErrorZ extends CommonBase {
                        super(_dummy, ptr);
                        number err = bindings.LDKCResult_UnsignedChannelUpdateDecodeErrorZ_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_UnsignedChannelUpdateDecodeErrorZ_Err(DecodeError err) {