Bindings updates
[ldk-java] / ts / structs / UnsignedChannelUpdate.ts
index a002dfc2af732fd3bef4bab1af61bfb4c914c745..133bc91f19d878843afb9d80fd01b06a91a2a4d7 100644 (file)
@@ -21,6 +21,7 @@ import * as bindings from '../bindings' // TODO: figure out location
        public UnsignedChannelUpdate clone() {
                number ret = bindings.UnsignedChannelUpdate_clone(this.ptr);
                const ret_hu_conv: UnsignedChannelUpdate = new UnsignedChannelUpdate(null, ret);
+               ret_hu_conv.ptrs_to.add(this);
                return ret_hu_conv;
        }