*
* Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None
*/
- public void set_fee_range(@Nullable ClosingSignedFeeRange val) {
+ public void set_fee_range(@Nullable org.ldk.structs.ClosingSignedFeeRange val) {
bindings.ClosingSigned_set_fee_range(this.ptr, val == null ? 0 : val.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(val);
/**
* Constructs a new ClosingSigned given each field
*/
- public static ClosingSigned of(byte[] channel_id_arg, long fee_satoshis_arg, byte[] signature_arg, ClosingSignedFeeRange fee_range_arg) {
+ public static ClosingSigned of(byte[] channel_id_arg, long fee_satoshis_arg, byte[] signature_arg, org.ldk.structs.ClosingSignedFeeRange fee_range_arg) {
long ret = bindings.ClosingSigned_new(InternalUtils.check_arr_len(channel_id_arg, 32), fee_satoshis_arg, InternalUtils.check_arr_len(signature_arg, 64), fee_range_arg == null ? 0 : fee_range_arg.ptr);
Reference.reachabilityFence(channel_id_arg);
Reference.reachabilityFence(fee_satoshis_arg);
* This ignores pointers and is_owned flags and looks at the values in fields.
* Two objects with NULL inner values will be considered "equal" here.
*/
- public boolean eq(ClosingSigned b) {
+ public boolean eq(org.ldk.structs.ClosingSigned b) {
boolean ret = bindings.ClosingSigned_eq(this.ptr, b == null ? 0 : b.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(b);