small bugfix
Commit by Satoshi Nakamoto (s_nakamoto) on 20 November 2010 · SVN r186 · release v0.3.17 · 2 files, +2 −2
Open in Satoshi Mail View on GitHub
Files changed
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());
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 = "";