aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.cpp
diff options
context:
space:
mode:
authorGreg Sanders <gsanders87@gmail.com>2024-03-25 12:04:53 -0400
committerGreg Sanders <gsanders87@gmail.com>2024-03-26 08:20:30 -0400
commitd9391ec0952920bdbb10d3f6e9e706e85f717ec0 (patch)
tree80bb93b5090763bfe6ba9436bd972eaf082fb8f0 /src/txmempool.cpp
parentb684d82d7e093889a8dc7678c6d6605ca4cd9fa4 (diff)
downloadbitcoin-d9391ec0952920bdbb10d3f6e9e706e85f717ec0.tar.xz
CalculateFeerateDiagramsForRBF: remove size tie-breaking from chunking conflicts
Diffstat (limited to 'src/txmempool.cpp')
-rw-r--r--src/txmempool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp
index 4047ceda3c..9adad694a9 100644
--- a/src/txmempool.cpp
+++ b/src/txmempool.cpp
@@ -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.