Skip to content

Commit 31b508a

Browse files
committed
[Qt] make use of the nMinimumTotalFee (absolute) in coincontrols fee calculation
1 parent 80462dd commit 31b508a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/qt/coincontroldialog.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,9 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog)
549549

550550
// Fee
551551
nPayFee = CWallet::GetMinimumFee(nBytes, nTxConfirmTarget, mempool);
552+
if (nPayFee > 0 && coinControl->nMinimumTotalFee > nPayFee)
553+
nPayFee = coinControl->nMinimumTotalFee;
554+
552555

553556
// Allow free? (require at least hard-coded threshold and default to that if no estimate)
554557
double dPriorityNeeded = std::max(mempoolEstimatePriority, AllowFreeThreshold());

0 commit comments

Comments
 (0)