bindings.UnsignedChannelUpdate_free(this.ptr);
}
}
- public UnsignedChannelUpdate clone() {
- number ret = bindings.UnsignedChannelUpdate_clone(this.ptr);
- const ret_hu_conv: UnsignedChannelUpdate = new UnsignedChannelUpdate(null, ret);
- return ret_hu_conv;
- }
-
public Uint8Array get_chain_hash() {
Uint8Array ret = bindings.UnsignedChannelUpdate_get_chain_hash(this.ptr);
return ret;
bindings.UnsignedChannelUpdate_set_fee_proportional_millionths(this.ptr, val);
}
+ public UnsignedChannelUpdate clone() {
+ number ret = bindings.UnsignedChannelUpdate_clone(this.ptr);
+ const ret_hu_conv: UnsignedChannelUpdate = new UnsignedChannelUpdate(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
public Uint8Array write() {
Uint8Array ret = bindings.UnsignedChannelUpdate_write(this.ptr);
return ret;