diff options
| author | Pieter Wuille <[email protected]> | 2013-06-22 10:08:57 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2013-06-22 10:08:57 -0700 |
| commit | b4a8a326c067a350b5a5ff0e565555b57ffb3a2e (patch) | |
| tree | 74143027afbf9170257c5928832df67c387cd19a /src/wallet.cpp | |
| parent | Merge pull request #2765 from vobornik/master (diff) | |
| parent | Refactor fee rules to make them actually readable. (diff) | |
| download | discoin-b4a8a326c067a350b5a5ff0e565555b57ffb3a2e.tar.xz discoin-b4a8a326c067a350b5a5ff0e565555b57ffb3a2e.zip | |
Merge pull request #2660 from TheBlueMatt/gmfrefactor
Refactor fee rules to make them actually readable.
Diffstat (limited to 'src/wallet.cpp')
| -rw-r--r-- | src/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp index 1087db632..a205d52b5 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -1307,7 +1307,7 @@ bool CWallet::CreateTransaction(const vector<pair<CScript, int64> >& vecSend, // Check that enough fee is included int64 nPayFee = nTransactionFee * (1 + (int64)nBytes / 1000); bool fAllowFree = AllowFree(dPriority); - int64 nMinFee = GetMinFee(wtxNew, 1, fAllowFree, GMF_SEND); + int64 nMinFee = GetMinFee(wtxNew, fAllowFree, GMF_SEND); if (nFeeRet < max(nPayFee, nMinFee)) { nFeeRet = max(nPayFee, nMinFee); |