mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-11 15:48:05 +00:00
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
main.cpp
2
main.cpp
@ -3197,7 +3197,7 @@ void BitcoinMiner()
|
|||||||
while (!mapPriority.empty())
|
while (!mapPriority.empty())
|
||||||
{
|
{
|
||||||
// Take highest priority transaction off priority queue
|
// Take highest priority transaction off priority queue
|
||||||
double dPriority = (*mapPriority.begin()).first;
|
double dPriority = -(*mapPriority.begin()).first;
|
||||||
CTransaction& tx = *(*mapPriority.begin()).second;
|
CTransaction& tx = *(*mapPriority.begin()).second;
|
||||||
mapPriority.erase(mapPriority.begin());
|
mapPriority.erase(mapPriority.begin());
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ class CDataStream;
|
|||||||
class CAutoFile;
|
class CAutoFile;
|
||||||
static const unsigned int MAX_SIZE = 0x02000000;
|
static const unsigned int MAX_SIZE = 0x02000000;
|
||||||
|
|
||||||
static const int VERSION = 31503;
|
static const int VERSION = 31504;
|
||||||
static const char* pszSubVer = "";
|
static const char* pszSubVer = "";
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user