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