mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
dynamic max fee rate value (#1395)
This commit is contained in:
@@ -291,4 +291,10 @@ class CWBitcoin extends Bitcoin {
|
||||
outputsCount,
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
int getMaxCustomFeeRate(Object wallet) {
|
||||
final bitcoinWallet = wallet as ElectrumWallet;
|
||||
return (bitcoinWallet.feeRate(BitcoinTransactionPriority.fast) * 1.1).round();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user