diff --git a/test/functional/p2p_sendheaders.py b/test/functional/p2p_sendheaders.py index 6860cac538..41158de1e9 100755 --- a/test/functional/p2p_sendheaders.py +++ b/test/functional/p2p_sendheaders.py @@ -494,7 +494,7 @@ class SendHeadersTest(BitcoinTestFramework): # Now announce a header that forks the last two blocks tip = blocks[0].sha256 - height -= 1 + height -= 2 blocks = [] # Create extra blocks for later