diff --git a/tests/test_chain.py b/tests/test_chain.py index eb2b7e6c..cd63cb5a 100644 --- a/tests/test_chain.py +++ b/tests/test_chain.py @@ -222,6 +222,7 @@ def test_rescan_edge_cases(lianad, bitcoind): lianad.stop() lianad.start() wait_for(lambda: lianad.rpc.getinfo()["rescan_progress"] is None) + wait_synced() assert coins_before == sorted_coins() # Lose our state again