- public void set_fee_proportional_millionths(UnsignedChannelUpdate this_ptr, int val) {
- bindings.UnsignedChannelUpdate_set_fee_proportional_millionths(this_ptr.ptr & ~1, val);
- this.ptrs_to.add(this_ptr);
+ public void set_fee_proportional_millionths(int val) {
+ bindings.UnsignedChannelUpdate_set_fee_proportional_millionths(this.ptr, val);
+ }
+
+ public byte[] write() {
+ byte[] ret = bindings.UnsignedChannelUpdate_write(this.ptr);
+ return ret;
+ }
+
+ public static Result_UnsignedChannelUpdateDecodeErrorZ constructor_read(byte[] ser) {
+ long ret = bindings.UnsignedChannelUpdate_read(ser);
+ Result_UnsignedChannelUpdateDecodeErrorZ ret_hu_conv = Result_UnsignedChannelUpdateDecodeErrorZ.constr_from_ptr(ret);
+ return ret_hu_conv;