small bugfix

git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@186 1a98c847-1fd6-4fd8-948a-caf3550aa51b
This commit is contained in:
s_nakamoto 2010-11-20 02:12:03 +00:00
parent f35e21e2e4
commit 51d9b435cd
2 changed files with 2 additions and 2 deletions

View File

@ -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());

View File

@ -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 = "";