diff --git a/test/functional/abc_rpc_avalancheproof.py b/test/functional/abc_rpc_avalancheproof.py --- a/test/functional/abc_rpc_avalancheproof.py +++ b/test/functional/abc_rpc_avalancheproof.py @@ -489,6 +489,10 @@ 100) node.generate(1) + # Wait until UpdatedBlockTip has been called so we know the proof + # validity has updated + node.syncwithvalidationinterfacequeue() + raw_proof = node.getrawavalancheproof("{:064x}".format(proofid)) assert_equal(raw_proof['proof'], proof) assert_equal(raw_proof['orphan'], True)