Bindings updates
[ldk-java] / src / main / java / org / ldk / structs / AcceptChannel.java
index 718b73c6a76584e5c39a80f4fffd673ff0f57967..f6ba8ed457b83893af5ae4cc558417c428433f47 100644 (file)
@@ -17,6 +17,7 @@ public class AcceptChannel extends CommonBase {
        public AcceptChannel clone() {
                long ret = bindings.AcceptChannel_clone(this.ptr);
                AcceptChannel ret_hu_conv = new AcceptChannel(null, ret);
+               ret_hu_conv.ptrs_to.add(this);
                return ret_hu_conv;
        }
 
@@ -154,6 +155,7 @@ public class AcceptChannel extends CommonBase {
        public static AcceptChannel constructor_read(byte[] ser) {
                long ret = bindings.AcceptChannel_read(ser);
                AcceptChannel ret_hu_conv = new AcceptChannel(null, ret);
+               ret_hu_conv.ptrs_to.add(ret_hu_conv);
                return ret_hu_conv;
        }