Skip to content

Commit b62e2c0

Browse files
committed
ImprovesFeerateDiagram: Spelling fix and removal of unused diagram vectors
1 parent bb42402 commit b62e2c0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/policy/rbf.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,7 @@ std::optional<std::pair<DiagramCheckError, std::string>> ImprovesFeerateDiagram(
190190
CAmount replacement_fees,
191191
int64_t replacement_vsize)
192192
{
193-
// Require that the replacement strictly improve the mempool's feerate diagram.
194-
std::vector<FeeFrac> old_diagram, new_diagram;
195-
193+
// Require that the replacement strictly improves the mempool's feerate diagram.
196194
const auto diagram_results{pool.CalculateFeerateDiagramsForRBF(replacement_fees, replacement_vsize, direct_conflicts, all_conflicts)};
197195

198196
if (!diagram_results.has_value()) {

0 commit comments

Comments
 (0)