This fixes a race:
- In the
test_estimate_dat_is_flushed_periodically
subtest, node 0 is isolated and creates 10 blocks (no sync). - In
clear_estimates
the nodes are reconnected (but we don’t wait for them to sync!) - In the
sanity_check_rbf_estimates
subtest, node 1 generates another block and syncs with the other nodes. The sync fails if the generated block is at the same height as the tip of node 0.
Fix this by adding a sync to clear_estimates
.