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