- public void set_htlc_basepoint(AcceptChannel this_ptr, byte[] val) {
- bindings.AcceptChannel_set_htlc_basepoint(this_ptr.ptr & ~1, val);
- this.ptrs_to.add(this_ptr);
+ public void set_first_per_commitment_point(byte[] val) {
+ bindings.AcceptChannel_set_first_per_commitment_point(this.ptr, val);
+ }
+
+ public AcceptChannel clone() {
+ long ret = bindings.AcceptChannel_clone(this.ptr);
+ AcceptChannel ret_hu_conv = new AcceptChannel(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;