Index: main.cpp
===================================================================
--- main.cpp	(revision 185)
+++ main.cpp	(revision 186)
@@ -3197,7 +3197,7 @@
             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());
 
Index: serialize.h
===================================================================
--- serialize.h	(revision 185)
+++ serialize.h	(revision 186)
@@ -22,7 +22,7 @@
 class CAutoFile;
 static const unsigned int MAX_SIZE = 0x02000000;
 
-static const int VERSION = 31503;
+static const int VERSION = 31504;
 static const char* pszSubVer = "";
 
 
