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;
}
}
this.node_id = obj.node_id;
this.is_permanent = obj.is_permanent;
}
+}
+ public HTLCFailChannelUpdate clone() {
+ number ret = bindings.HTLCFailChannelUpdate_clone(this.ptr);
+ HTLCFailChannelUpdate ret_hu_conv = HTLCFailChannelUpdate.constr_from_ptr(ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
}