Bindings updates
[ldk-java] / src / main / java / org / ldk / structs / UnsignedChannelUpdate.java
index 70c9749ada406a2d2b51a96a4d3cdeead71330a4..86ad7499d2640004fff7e265466335981d419bb8 100644 (file)
@@ -17,6 +17,7 @@ public class UnsignedChannelUpdate extends CommonBase {
        public UnsignedChannelUpdate clone() {
                long ret = bindings.UnsignedChannelUpdate_clone(this.ptr);
                UnsignedChannelUpdate ret_hu_conv = new UnsignedChannelUpdate(null, ret);
+               ret_hu_conv.ptrs_to.add(this);
                return ret_hu_conv;
        }