Skip to content

Commit

Permalink
change fee to match fee dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
presstab committed Nov 3, 2014
1 parent a05c074 commit 0aaa9f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/qt/coincontroldialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -615,13 +615,13 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog)
sPriorityLabel = CoinControlDialog::getPriorityLabel(dPriority);

// Fee
int64 nFee = nTransactionFee;
int64 nFee = nTransactionFee * (1 + (int64)nBytes / 1000);

// Min Fee
int64 nMinFee = txDummy.GetMinFee(1, false, GMF_SEND, nBytes);

//nPayFee = max(nFee, nMinFee);
nPayFee = nFee;
nPayFee = max(nFee, nMinFee);
//nPayFee = nFee;

if (nPayAmount > 0)
{
Expand Down

0 comments on commit 0aaa9f4

Please sign in to comment.