CalculateFeerateDiagramsForRBF: remove size tie-breaking from chunking conflicts

This commit is contained in:
Greg Sanders
2024-03-25 12:04:53 -04:00
parent b684d82d7e
commit d9391ec095
2 changed files with 3 additions and 3 deletions

View File

@@ -1317,7 +1317,7 @@ util::Result<std::pair<std::vector<FeeFrac>, std::vector<FeeFrac>>> CTxMemPool::
// We'll add chunks for either the ancestor by itself and this tx
// by itself, or for a combined package.
FeeFrac package{txiter->GetModFeesWithAncestors(), static_cast<int32_t>(txiter->GetSizeWithAncestors())};
if (individual > package) {
if (individual >> package) {
// The individual feerate is higher than the package, and
// therefore higher than the parent's fee. Chunk these
// together.