From 51d9b435cd1fc6efe5fc418e8adb48ef33c9e836 Mon Sep 17 00:00:00 2001 From: s_nakamoto Date: Sat, 20 Nov 2010 02:12:03 +0000 Subject: [PATCH] small bugfix git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@186 1a98c847-1fd6-4fd8-948a-caf3550aa51b --- main.cpp | 2 +- serialize.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 8e32ee7c3..1f5261d4e 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()); diff --git a/serialize.h b/serialize.h index 0fc3366c7..e0b83aca4 100644 --- a/serialize.h +++ b/serialize.h @@ -22,7 +22,7 @@ class CDataStream; class CAutoFile; static const unsigned int MAX_SIZE = 0x02000000; -static const int VERSION = 31503; +static const int VERSION = 31504; static const char* pszSubVer = "";