X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FUpdateFailMalformedHTLC.ts;fp=ts%2Fstructs%2FUpdateFailMalformedHTLC.ts;h=52b6a71d572b4caddfedd18c11f841d4db8342e1;hb=fed2245c60159f6c074c9ed5c0f3ce273ad9841b;hp=10072c0998d68783168dc532603beab66555b5a3;hpb=e9c2970adecaa14b3e83e11eb160a7bcbdae20da;p=ldk-java diff --git a/ts/structs/UpdateFailMalformedHTLC.ts b/ts/structs/UpdateFailMalformedHTLC.ts index 10072c09..52b6a71d 100644 --- a/ts/structs/UpdateFailMalformedHTLC.ts +++ b/ts/structs/UpdateFailMalformedHTLC.ts @@ -21,6 +21,7 @@ import * as bindings from '../bindings' // TODO: figure out location public UpdateFailMalformedHTLC clone() { number ret = bindings.UpdateFailMalformedHTLC_clone(this.ptr); const ret_hu_conv: UpdateFailMalformedHTLC = new UpdateFailMalformedHTLC(null, ret); + ret_hu_conv.ptrs_to.add(this); return ret_hu_conv; } @@ -59,6 +60,7 @@ import * as bindings from '../bindings' // TODO: figure out location public static UpdateFailMalformedHTLC constructor_read(Uint8Array ser) { number ret = bindings.UpdateFailMalformedHTLC_read(ser); const ret_hu_conv: UpdateFailMalformedHTLC = new UpdateFailMalformedHTLC(null, ret); + ret_hu_conv.ptrs_to.add(ret_hu_conv); return ret_hu_conv; }