[Qt] make use of the nMinimumTotalFee (absolute) in coincontrols fee calculation
This commit is contained in:
parent
80462dda0a
commit
31b508a18b
1 changed files with 3 additions and 0 deletions
|
@ -549,6 +549,9 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog)
|
||||||
|
|
||||||
// Fee
|
// Fee
|
||||||
nPayFee = CWallet::GetMinimumFee(nBytes, nTxConfirmTarget, mempool);
|
nPayFee = CWallet::GetMinimumFee(nBytes, nTxConfirmTarget, mempool);
|
||||||
|
if (nPayFee > 0 && coinControl->nMinimumTotalFee > nPayFee)
|
||||||
|
nPayFee = coinControl->nMinimumTotalFee;
|
||||||
|
|
||||||
|
|
||||||
// Allow free? (require at least hard-coded threshold and default to that if no estimate)
|
// Allow free? (require at least hard-coded threshold and default to that if no estimate)
|
||||||
double dPriorityNeeded = std::max(mempoolEstimatePriority, AllowFreeThreshold());
|
double dPriorityNeeded = std::max(mempoolEstimatePriority, AllowFreeThreshold());
|
||||||
|
|
Loading…
Reference in a new issue