aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 8e32ee7c3c..1f5261d4e9 100644
--- a/main.cpp
+++ b/main.cpp
@@ -3197,7 +3197,7 @@ void BitcoinMiner()
while (!mapPriority.empty())
{
// Take highest priority transaction off priority queue
- double dPriority = (*mapPriority.begin()).first;
+ double dPriority = -(*mapPriority.begin()).first;
CTransaction& tx = *(*mapPriority.begin()).second;
mapPriority.erase(mapPriority.begin());