Bindings updates
[ldk-java] / src / main / java / org / ldk / structs / UpdateAddHTLC.java
index acf6a36aadcc2c27b398101c12c33de1be954056..3f6643ce839b413362c4c0094b3ab5bb552b40f2 100644 (file)
@@ -17,6 +17,7 @@ public class UpdateAddHTLC extends CommonBase {
        public UpdateAddHTLC clone() {
                long ret = bindings.UpdateAddHTLC_clone(this.ptr);
                UpdateAddHTLC ret_hu_conv = new UpdateAddHTLC(null, ret);
+               ret_hu_conv.ptrs_to.add(this);
                return ret_hu_conv;
        }
 
@@ -73,6 +74,7 @@ public class UpdateAddHTLC extends CommonBase {
        public static UpdateAddHTLC constructor_read(byte[] ser) {
                long ret = bindings.UpdateAddHTLC_read(ser);
                UpdateAddHTLC ret_hu_conv = new UpdateAddHTLC(null, ret);
+               ret_hu_conv.ptrs_to.add(ret_hu_conv);
                return ret_hu_conv;
        }