mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-23 17:04:25 +01:00
Change Config param to zero_conf_min_fee_rate_msat (#374)
* Change Config param to zero_conf_min_fee_rate_msat * Fix Flutter example
This commit is contained in:
@@ -43,8 +43,8 @@ class Config {
|
||||
/// Send payment timeout. See [crate::sdk::LiquidSdk::send_payment]
|
||||
final BigInt paymentTimeoutSec;
|
||||
|
||||
/// Zero-conf minimum accepted fee-rate in sat/vbyte
|
||||
final double zeroConfMinFeeRate;
|
||||
/// Zero-conf minimum accepted fee-rate in millisatoshis per vbyte
|
||||
final int zeroConfMinFeeRateMsat;
|
||||
|
||||
/// Maximum amount in satoshi to accept zero-conf payments with
|
||||
/// Defaults to [crate::receive_swap::DEFAULT_ZERO_CONF_MAX_SAT]
|
||||
@@ -56,7 +56,7 @@ class Config {
|
||||
required this.workingDir,
|
||||
required this.network,
|
||||
required this.paymentTimeoutSec,
|
||||
required this.zeroConfMinFeeRate,
|
||||
required this.zeroConfMinFeeRateMsat,
|
||||
this.zeroConfMaxAmountSat,
|
||||
});
|
||||
|
||||
@@ -67,7 +67,7 @@ class Config {
|
||||
workingDir.hashCode ^
|
||||
network.hashCode ^
|
||||
paymentTimeoutSec.hashCode ^
|
||||
zeroConfMinFeeRate.hashCode ^
|
||||
zeroConfMinFeeRateMsat.hashCode ^
|
||||
zeroConfMaxAmountSat.hashCode;
|
||||
|
||||
@override
|
||||
@@ -80,7 +80,7 @@ class Config {
|
||||
workingDir == other.workingDir &&
|
||||
network == other.network &&
|
||||
paymentTimeoutSec == other.paymentTimeoutSec &&
|
||||
zeroConfMinFeeRate == other.zeroConfMinFeeRate &&
|
||||
zeroConfMinFeeRateMsat == other.zeroConfMinFeeRateMsat &&
|
||||
zeroConfMaxAmountSat == other.zeroConfMaxAmountSat;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user