X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FChannelMonitorUpdate.ts;fp=ts%2Fstructs%2FChannelMonitorUpdate.ts;h=3217804ef0ae7b04ea8bb4e02aab064edf124a95;hb=fed2245c60159f6c074c9ed5c0f3ce273ad9841b;hp=a5ef1d14a4c6783aa373123a5bcc711cd83b595c;hpb=e9c2970adecaa14b3e83e11eb160a7bcbdae20da;p=ldk-java diff --git a/ts/structs/ChannelMonitorUpdate.ts b/ts/structs/ChannelMonitorUpdate.ts index a5ef1d14..3217804e 100644 --- a/ts/structs/ChannelMonitorUpdate.ts +++ b/ts/structs/ChannelMonitorUpdate.ts @@ -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; }