X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fwallet.cpp;h=d3735530561d47fd8ef369b06c1b2a1f2dd486ee;hb=ae7d505f0045672c520a1548c6d5ca2b728d5e79;hp=10f66e8d3b4764a3da04b683979898bf6a5a2f99;hpb=4b0d50c8d1e2556e960911e4b78f269595de5ed1;p=novacoin.git diff --git a/src/wallet.cpp b/src/wallet.cpp index 10f66e8..d373553 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -1413,8 +1413,7 @@ bool CWallet::CreateTransaction(const vector >& vecSend, CW // Check that enough fee is included int64 nPayFee = nTransactionFee * (1 + (int64)nBytes / 1000); - bool fAllowFree = CTransaction::AllowFree(dPriority); - int64 nMinFee = wtxNew.GetMinFee(1, fAllowFree, GMF_SEND); + int64 nMinFee = wtxNew.GetMinFee(1, false, GMF_SEND, nBytes); if (nFeeRet < max(nPayFee, nMinFee)) { nFeeRet = max(nPayFee, nMinFee);