Browse Source

[Qt] make use of the nMinimumTotalFee (absolute) in coincontrols fee calculation

0.13
Jonas Schnelli 9 years ago
parent
commit
31b508a18b
No known key found for this signature in database
GPG Key ID: 29D4BCB6416F53EC
  1. 3
      src/qt/coincontroldialog.cpp

3
src/qt/coincontroldialog.cpp

@ -549,6 +549,9 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog) @@ -549,6 +549,9 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog)
// Fee
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)
double dPriorityNeeded = std::max(mempoolEstimatePriority, AllowFreeThreshold());

Loading…
Cancel
Save