From b62e2c0fa5f6010ff1fc60c59418d0796b83c5de Mon Sep 17 00:00:00 2001 From: Greg Sanders Date: Mon, 25 Mar 2024 09:50:03 -0400 Subject: [PATCH] ImprovesFeerateDiagram: Spelling fix and removal of unused diagram vectors --- src/policy/rbf.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/policy/rbf.cpp b/src/policy/rbf.cpp index a2c6990657e..84c3352b9df 100644 --- a/src/policy/rbf.cpp +++ b/src/policy/rbf.cpp @@ -190,9 +190,7 @@ std::optional> ImprovesFeerateDiagram( CAmount replacement_fees, int64_t replacement_vsize) { - // Require that the replacement strictly improve the mempool's feerate diagram. - std::vector old_diagram, new_diagram; - + // Require that the replacement strictly improves the mempool's feerate diagram. const auto diagram_results{pool.CalculateFeerateDiagramsForRBF(replacement_fees, replacement_vsize, direct_conflicts, all_conflicts)}; if (!diagram_results.has_value()) {