small bugfix
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@186 1a98c847-1fd6-4fd8-948a-caf3550aa51b
This commit is contained in:
parent
f35e21e2e4
commit
51d9b435cd
2 changed files with 2 additions and 2 deletions
2
main.cpp
2
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());
|
||||
|
||||
|
|
|
@ -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…
Reference in a new issue