Bindings updates
[ldk-java] / src / main / java / org / ldk / structs / OpenChannel.java
index 0a99f832162526b23c4008a71446a15719dbf0ba..2de4e031a009fd996e3eb089be29ca21337609f2 100644 (file)
@@ -17,6 +17,7 @@ public class OpenChannel extends CommonBase {
        public OpenChannel clone() {
                long ret = bindings.OpenChannel_clone(this.ptr);
                OpenChannel ret_hu_conv = new OpenChannel(null, ret);
+               ret_hu_conv.ptrs_to.add(this);
                return ret_hu_conv;
        }
 
@@ -190,6 +191,7 @@ public class OpenChannel extends CommonBase {
        public static OpenChannel constructor_read(byte[] ser) {
                long ret = bindings.OpenChannel_read(ser);
                OpenChannel ret_hu_conv = new OpenChannel(null, ret);
+               ret_hu_conv.ptrs_to.add(ret_hu_conv);
                return ret_hu_conv;
        }