Fix estimated fee calculation for customs fee rate (#1406)

* Update output.dart

* fix estimated fee calculation

* Update bitcoin_transaction_priority.dart
This commit is contained in:
Serhii
2024-04-26 19:18:26 +03:00
committed by GitHub
parent a5a3b4ac0e
commit 7fcf48f91d
5 changed files with 15 additions and 18 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ abstract class Bitcoin {
Future<bool> canReplaceByFee(Object wallet, String transactionHash);
Future<bool> isChangeSufficientForFee(Object wallet, String txId, String newFee);
int getFeeAmountForPriority(Object wallet, TransactionPriority priority, int inputsCount, int outputsCount, {int? size});
int getFeeAmountWithFeeRate(Object wallet, int feeRate, int inputsCount, int outputsCount, {int? size});
int getEstimatedFeeWithFeeRate(Object wallet, int feeRate, int? amount, {int? outputsCount, int? size});
int getMaxCustomFeeRate(Object wallet);
}
""";