Fee fixes

This commit is contained in:
Cozz Lovan
2014-07-05 07:30:06 +02:00
parent 1fedd65fcf
commit d88af56011
4 changed files with 24 additions and 10 deletions

View File

@@ -1484,7 +1484,7 @@ bool CWallet::CreateTransaction(const vector<pair<CScript, int64_t> >& vecSend,
break;
// Small enough, and priority high enough, to send for free
if (dPriority >= dPriorityNeeded)
if (dPriorityNeeded > 0 && dPriority >= dPriorityNeeded)
break;
// Include more fee and try again.