Commit a1a9dff1 authored by Michal Kucharczyk's avatar Michal Kucharczyk Committed by GitHub
Browse files

txpool: TestApi best_block fix (#12992)

This is a minor clean up.

There was a minor bug in TestApi::add_block: the best block flag for
given number was not cleared when the new best block with the same
number was added.

The usage of is_best_block argument in add_block method in txpool tests
were aligned with the BestBlock event.
parent 4dc62d7e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment