Bindings updates
[ldk-java] / ts / structs / HTLCFailChannelUpdate.ts
index 2d33a1385654091867eb3b844375709eb0458525..5f76a0df4ef156d0a33c33360fa067e27b950776 100644 (file)
@@ -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;
        }
 }