The following diff should fail tests:
@@ -287,8 +289,9 @@ public: class CompareTxMemPoolEntryByScore { public: bool operator()(const CTxMemPoolEntry &a, const CTxMemPoolEntry &b) { - double f1 = (double)a.GetModifiedFee() * b.GetTxSize(); - double f2 = (double)b.GetModifiedFee() * a.GetTxSize(); + double f1 = + double(b.GetTxSize() * a.GetModFeesWithDescendants().GetSatoshis()); + double f2 = double(a.GetTxSize() * b.GetModifiedFee().GetSatoshis());