X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FUpdateFailHTLC.ts;fp=ts%2Fstructs%2FUpdateFailHTLC.ts;h=bf4a4763688188e7f05917c6ffa48df315b8bea9;hb=fed2245c60159f6c074c9ed5c0f3ce273ad9841b;hp=c838d7c55e1567627f573c6659efd1544e631ae6;hpb=e9c2970adecaa14b3e83e11eb160a7bcbdae20da;p=ldk-java diff --git a/ts/structs/UpdateFailHTLC.ts b/ts/structs/UpdateFailHTLC.ts index c838d7c5..bf4a4763 100644 --- a/ts/structs/UpdateFailHTLC.ts +++ b/ts/structs/UpdateFailHTLC.ts @@ -21,6 +21,7 @@ import * as bindings from '../bindings' // TODO: figure out location public UpdateFailHTLC clone() { number ret = bindings.UpdateFailHTLC_clone(this.ptr); const ret_hu_conv: UpdateFailHTLC = new UpdateFailHTLC(null, ret); + ret_hu_conv.ptrs_to.add(this); return ret_hu_conv; } @@ -50,6 +51,7 @@ import * as bindings from '../bindings' // TODO: figure out location public static UpdateFailHTLC constructor_read(Uint8Array ser) { number ret = bindings.UpdateFailHTLC_read(ser); const ret_hu_conv: UpdateFailHTLC = new UpdateFailHTLC(null, ret); + ret_hu_conv.ptrs_to.add(ret_hu_conv); return ret_hu_conv; }