Reverse the sort on the mempool's feerate index

This commit is contained in:
Suhas Daftuar
2015-09-24 13:21:31 -04:00
committed by Matt Corallo
parent 4ca6ddec4d
commit 78b82f4a16
2 changed files with 25 additions and 25 deletions

View File

@@ -160,9 +160,9 @@ public:
double f2 = aSize * bFees;
if (f1 == f2) {
return a.GetTime() < b.GetTime();
return a.GetTime() >= b.GetTime();
}
return f1 > f2;
return f1 < f2;
}
// Calculate which feerate to use for an entry (avoiding division).