X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FHTLCFailChannelUpdate.ts;h=5f76a0df4ef156d0a33c33360fa067e27b950776;hb=fed2245c60159f6c074c9ed5c0f3ce273ad9841b;hp=2d33a1385654091867eb3b844375709eb0458525;hpb=e9c2970adecaa14b3e83e11eb160a7bcbdae20da;p=ldk-java diff --git a/ts/structs/HTLCFailChannelUpdate.ts b/ts/structs/HTLCFailChannelUpdate.ts index 2d33a138..5f76a0df 100644 --- a/ts/structs/HTLCFailChannelUpdate.ts +++ b/ts/structs/HTLCFailChannelUpdate.ts @@ -29,6 +29,7 @@ export class ChannelUpdateMessage extends HTLCFailChannelUpdate { super(null, ptr); const msg: number = obj.msg; const msg_hu_conv: ChannelUpdate = new ChannelUpdate(null, msg); + msg_hu_conv.ptrs_to.add(this); this.msg = msg_hu_conv; } }