mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-21 07:39:08 +01:00
Moved CInPoint to core. Removed GetMinFee from CTransaction and made it a regular function in main.
This commit is contained in:
@@ -1277,7 +1277,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 = CTransaction::AllowFree(dPriority);
|
||||
int64 nMinFee = wtxNew.GetMinFee(1, fAllowFree, GMF_SEND);
|
||||
int64 nMinFee = GetMinFee(wtxNew, 1, fAllowFree, GMF_SEND);
|
||||
if (nFeeRet < max(nPayFee, nMinFee))
|
||||
{
|
||||
nFeeRet = max(nPayFee, nMinFee);
|
||||
|
||||
Reference in New Issue
Block a user