aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.cpp
diff options
context:
space:
mode:
authorCozz Lovan <cozzlovan@yahoo.com>2014-07-05 07:30:06 +0200
committerCozz Lovan <cozzlovan@yahoo.com>2014-07-08 05:09:19 +0200
commitd88af560111863c3e9c1ae855dcc287f04dffb02 (patch)
tree2dead75696e53fd1804f5fe478506e34da625f76 /src/wallet.cpp
parent1fedd65fcf9ac04b70f0fa8cf6caa9629857d586 (diff)
Fee fixes
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 ea99b89a5a..a54494f935 100644
--- a/src/wallet.cpp
+++ b/src/wallet.cpp
@@ -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.