- public void set_htlc_basepoint(ChannelPublicKeys this_ptr, byte[] val) {
- bindings.ChannelPublicKeys_set_htlc_basepoint(this_ptr == null ? 0 : this_ptr.ptr & ~1, val);
- this.ptrs_to.add(this_ptr);
+ public void set_htlc_basepoint(byte[] val) {
+ bindings.ChannelPublicKeys_set_htlc_basepoint(this.ptr, val);
+ }
+
+ public static ChannelPublicKeys constructor_new(byte[] funding_pubkey_arg, byte[] revocation_basepoint_arg, byte[] payment_point_arg, byte[] delayed_payment_basepoint_arg, byte[] htlc_basepoint_arg) {
+ long ret = bindings.ChannelPublicKeys_new(funding_pubkey_arg, revocation_basepoint_arg, payment_point_arg, delayed_payment_basepoint_arg, htlc_basepoint_arg);
+ ChannelPublicKeys ret_hu_conv = new ChannelPublicKeys(null, ret);
+ ret_hu_conv.ptrs_to.add(ret_hu_conv);
+ return ret_hu_conv;