dynamic max fee rate value (#1395)

This commit is contained in:
Serhii
2024-04-25 18:28:18 +02:00
committed by GitHub
parent 190c8e06b9
commit 9ff6da3d5d
12 changed files with 54 additions and 9 deletions
+6
View File
@@ -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();
}
}