mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
ImprovesFeerateDiagram: Spelling fix and removal of unused diagram vectors
This commit is contained in:
parent
bb42402945
commit
b62e2c0fa5
1 changed files with 1 additions and 3 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue