Browse Source

small bugfix

git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@186 1a98c847-1fd6-4fd8-948a-caf3550aa51b
0.8
s_nakamoto 14 years ago
parent
commit
51d9b435cd
  1. 2
      main.cpp
  2. 2
      serialize.h

2
main.cpp

@ -3197,7 +3197,7 @@ void BitcoinMiner() @@ -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());

2
serialize.h

@ -22,7 +22,7 @@ class CDataStream; @@ -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 = "";

Loading…
Cancel
Save