X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FTrustedCommitmentTransaction.ts;h=5448f12e841226975df97e9713a198c9e7527809;hb=fed2245c60159f6c074c9ed5c0f3ce273ad9841b;hp=b40e528eebb45d410bf76cab890b9aa98d2f0c79;hpb=e9c2970adecaa14b3e83e11eb160a7bcbdae20da;p=ldk-java diff --git a/ts/structs/TrustedCommitmentTransaction.ts b/ts/structs/TrustedCommitmentTransaction.ts index b40e528e..5448f12e 100644 --- a/ts/structs/TrustedCommitmentTransaction.ts +++ b/ts/structs/TrustedCommitmentTransaction.ts @@ -26,12 +26,14 @@ import * as bindings from '../bindings' // TODO: figure out location public BuiltCommitmentTransaction built_transaction() { number ret = bindings.TrustedCommitmentTransaction_built_transaction(this.ptr); const ret_hu_conv: BuiltCommitmentTransaction = new BuiltCommitmentTransaction(null, ret); + ret_hu_conv.ptrs_to.add(this); return ret_hu_conv; } public TxCreationKeys keys() { number ret = bindings.TrustedCommitmentTransaction_keys(this.ptr); const ret_hu_conv: TxCreationKeys = new TxCreationKeys(null, ret); + ret_hu_conv.ptrs_to.add(this); return ret_hu_conv; }