aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.cpp
diff options
context:
space:
mode:
authorCozz Lovan <cozzlovan@yahoo.com>2013-08-12 16:59:09 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2013-11-14 14:25:04 +0100
commit8dfd8c62dccac96afbda5ad0e66e68ee4820481f (patch)
treedc517aecc0dd6d3973a2e91dbf9ead2284c74673 /src/wallet.cpp
parent6ad44f569335d57a56e5b28582255439980f9b73 (diff)
pass nBytes as parameter to GetMinFee(..)
Diffstat (limited to 'src/wallet.cpp')
-rw-r--r--src/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp
index 6e49ef7b8e..868716cb2c 100644
--- a/src/wallet.cpp
+++ b/src/wallet.cpp
@@ -1334,7 +1334,7 @@ bool CWallet::CreateTransaction(const vector<pair<CScript, int64_t> >& vecSend,
// Check that enough fee is included
int64_t nPayFee = nTransactionFee * (1 + (int64_t)nBytes / 1000);
bool fAllowFree = AllowFree(dPriority);
- int64_t nMinFee = GetMinFee(wtxNew, fAllowFree, GMF_SEND);
+ int64_t nMinFee = GetMinFee(wtxNew, nBytes, fAllowFree, GMF_SEND);
if (nFeeRet < max(nPayFee, nMinFee))
{
nFeeRet = max(nPayFee, nMinFee);