X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FQueryShortChannelIds.ts;h=58643a72d147a5cbe96f93300f88fc9f211a971b;hb=fed2245c60159f6c074c9ed5c0f3ce273ad9841b;hp=3c2efc5bc07d51d8688f6aeed6bcf79aa8b9bea0;hpb=e9c2970adecaa14b3e83e11eb160a7bcbdae20da;p=ldk-java diff --git a/ts/structs/QueryShortChannelIds.ts b/ts/structs/QueryShortChannelIds.ts index 3c2efc5b..58643a72 100644 --- a/ts/structs/QueryShortChannelIds.ts +++ b/ts/structs/QueryShortChannelIds.ts @@ -21,6 +21,7 @@ import * as bindings from '../bindings' // TODO: figure out location public QueryShortChannelIds clone() { number ret = bindings.QueryShortChannelIds_clone(this.ptr); const ret_hu_conv: QueryShortChannelIds = new QueryShortChannelIds(null, ret); + ret_hu_conv.ptrs_to.add(this); return ret_hu_conv; } @@ -40,6 +41,7 @@ import * as bindings from '../bindings' // TODO: figure out location public static QueryShortChannelIds constructor_new(Uint8Array chain_hash_arg, number[] short_channel_ids_arg) { number ret = bindings.QueryShortChannelIds_new(chain_hash_arg, short_channel_ids_arg); const ret_hu_conv: QueryShortChannelIds = new QueryShortChannelIds(null, ret); + ret_hu_conv.ptrs_to.add(ret_hu_conv); return ret_hu_conv; }