Bindings updates
[ldk-java] / src / main / java / org / ldk / structs / Result_UnsignedChannelUpdateDecodeErrorZ.java
index 627fdf693bc1995d1568910690bb074b90639959..7dbeefc4040fec4aa4592a76264f9e80abe82816 100644 (file)
@@ -25,6 +25,7 @@ public class Result_UnsignedChannelUpdateDecodeErrorZ extends CommonBase {
                        super(_dummy, ptr);
                        long res = bindings.LDKCResult_UnsignedChannelUpdateDecodeErrorZ_get_ok(ptr);
                        UnsignedChannelUpdate res_hu_conv = new UnsignedChannelUpdate(null, res);
+                       res_hu_conv.ptrs_to.add(this);
                        this.res = res_hu_conv;
                }
                public Result_UnsignedChannelUpdateDecodeErrorZ_OK(UnsignedChannelUpdate res) {
@@ -39,6 +40,7 @@ public class Result_UnsignedChannelUpdateDecodeErrorZ extends CommonBase {
                        super(_dummy, ptr);
                        long err = bindings.LDKCResult_UnsignedChannelUpdateDecodeErrorZ_get_err(ptr);
                        DecodeError err_hu_conv = new DecodeError(null, err);
+                       err_hu_conv.ptrs_to.add(this);
                        this.err = err_hu_conv;
                }
                public Result_UnsignedChannelUpdateDecodeErrorZ_Err(DecodeError err) {