ImprovesFeerateDiagram: Spelling fix and removal of unused diagram vectors
This commit is contained in:
1 parent
bb42402945
commit
b62e2c0fa5
1 file changed
+1
-3
+1
-3
@@ -190,9 +190,7 @@ std::optional<std::pair<DiagramCheckError, std::string>> ImprovesFeerateDiagram(
|
|||||||
CAmount replacement_fees,
|
CAmount replacement_fees,
|
||||||
int64_t replacement_vsize)
|
int64_t replacement_vsize)
|
||||||
{
|
{
|
||||||
// Require that the replacement strictly improve the mempool's feerate diagram.
|
// Require that the replacement strictly improves the mempool's feerate diagram.
|
||||||
std::vector<FeeFrac> old_diagram, new_diagram;
|
|
||||||
|
|
||||||
const auto diagram_results{pool.CalculateFeerateDiagramsForRBF(replacement_fees, replacement_vsize, direct_conflicts, all_conflicts)};
|
const auto diagram_results{pool.CalculateFeerateDiagramsForRBF(replacement_fees, replacement_vsize, direct_conflicts, all_conflicts)};
|
||||||
|
|
||||||
if (!diagram_results.has_value()) {
|
if (!diagram_results.has_value()) {
|
||||||
|
|||||||
Reference in new issue
Block a user