X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=ts%2Fstructs%2FChannelMonitorUpdate.ts;h=3217804ef0ae7b04ea8bb4e02aab064edf124a95;hb=c740af8efd2dd15d8b5e2e109ce18714b1b65629;hp=a5ef1d14a4c6783aa373123a5bcc711cd83b595c;hpb=acecce750cf1159a51f9d1a4dbfd717520739e92;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; }