Bindings updates
[ldk-java] / src / main / java / org / ldk / structs / UpdateFee.java
index 8c90926a860e89c46bbc6f596132668c46557355..a939f3f18021f9971a109503dbb0b67f3c861c03 100644 (file)
@@ -17,6 +17,7 @@ public class UpdateFee extends CommonBase {
        public UpdateFee clone() {
                long ret = bindings.UpdateFee_clone(this.ptr);
                UpdateFee ret_hu_conv = new UpdateFee(null, ret);
+               ret_hu_conv.ptrs_to.add(this);
                return ret_hu_conv;
        }
 
@@ -41,6 +42,7 @@ public class UpdateFee extends CommonBase {
        public static UpdateFee constructor_new(byte[] channel_id_arg, int feerate_per_kw_arg) {
                long ret = bindings.UpdateFee_new(channel_id_arg, feerate_per_kw_arg);
                UpdateFee ret_hu_conv = new UpdateFee(null, ret);
+               ret_hu_conv.ptrs_to.add(ret_hu_conv);
                return ret_hu_conv;
        }
 
@@ -52,6 +54,7 @@ public class UpdateFee extends CommonBase {
        public static UpdateFee constructor_read(byte[] ser) {
                long ret = bindings.UpdateFee_read(ser);
                UpdateFee ret_hu_conv = new UpdateFee(null, ret);
+               ret_hu_conv.ptrs_to.add(ret_hu_conv);
                return ret_hu_conv;
        }