diff options
| author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-11-20 02:12:03 +0000 |
|---|---|---|
| committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-11-20 02:12:03 +0000 |
| commit | 51d9b435cd1fc6efe5fc418e8adb48ef33c9e836 (patch) | |
| tree | 011f923a95f7b76dfad639604c3bad3135340566 /main.cpp | |
| parent | require some minimal priority for free transactions to slow down transaction ... (diff) | |
| download | discoin-51d9b435cd1fc6efe5fc418e8adb48ef33c9e836.tar.xz discoin-51d9b435cd1fc6efe5fc418e8adb48ef33c9e836.zip | |
small bugfix
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@186 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'main.cpp')
| -rw-r--r-- | main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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()); |