minor p2p_sendheaders fix of height in coinbase

This commit is contained in:
Gregory Sanders 2018-10-22 16:47:50 -04:00
parent 5c25409d68
commit 1cdb9bb51f

View file

@ -490,7 +490,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