diff options
author | Greg Sanders <gsanders87@gmail.com> | 2024-03-25 09:50:03 -0400 |
---|---|---|
committer | Greg Sanders <gsanders87@gmail.com> | 2024-03-26 08:05:22 -0400 |
commit | b62e2c0fa5f6010ff1fc60c59418d0796b83c5de (patch) | |
tree | 3f9899a33480d331ad1220bb89758a80bf3b6f6b /src | |
parent | bb424029459af691c4d07988f3d76afeaee21644 (diff) | |
download | bitcoin-b62e2c0fa5f6010ff1fc60c59418d0796b83c5de.tar.xz |
ImprovesFeerateDiagram: Spelling fix and removal of unused diagram vectors
Diffstat (limited to 'src')
-rw-r--r-- | src/policy/rbf.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/policy/rbf.cpp b/src/policy/rbf.cpp index a2c6990657..84c3352b9d 100644 --- a/src/policy/rbf.cpp +++ b/src/policy/rbf.cpp @@ -190,9 +190,7 @@ std::optional<std::pair<DiagramCheckError, std::string>> ImprovesFeerateDiagram( CAmount replacement_fees, int64_t replacement_vsize) { - // Require that the replacement strictly improve the mempool's feerate diagram. - std::vector<FeeFrac> 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()) { |