X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FUnsignedChannelUpdate.ts;fp=ts%2Fstructs%2FUnsignedChannelUpdate.ts;h=133bc91f19d878843afb9d80fd01b06a91a2a4d7;hb=fed2245c60159f6c074c9ed5c0f3ce273ad9841b;hp=a002dfc2af732fd3bef4bab1af61bfb4c914c745;hpb=e9c2970adecaa14b3e83e11eb160a7bcbdae20da;p=ldk-java diff --git a/ts/structs/UnsignedChannelUpdate.ts b/ts/structs/UnsignedChannelUpdate.ts index a002dfc2..133bc91f 100644 --- a/ts/structs/UnsignedChannelUpdate.ts +++ b/ts/structs/UnsignedChannelUpdate.ts @@ -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; }