Merge #14543: [QA] minor p2p_sendheaders fix of height in coinbase

1cdb9bb51f minor p2p_sendheaders fix of height in coinbase (Gregory Sanders)

Pull request description:

  > \# Now announce a header that forks the last two blocks

  Doesn't effect any behavior since BIP34 isn't active in regtest for many blocks.

Tree-SHA512: 3f214b956a94250bb640f63b6ff707930e1d4cb8df1bbf0fef4012d89a94bafbde0d7b42bbe7113ec33810169281c22c6e389445921d99decb74aa56e87a0f27
This commit is contained in:
MarcoFalke 2019-02-12 11:09:57 -05:00 committed by Pasta
parent ca9247fac4
commit 184fa2a6a0
No known key found for this signature in database
GPG Key ID: 52527BEDABE87984

View File

@ -494,7 +494,7 @@ class SendHeadersTest(BitcoinTestFramework):
# Now announce a header that forks the last two blocks # Now announce a header that forks the last two blocks
tip = blocks[0].sha256 tip = blocks[0].sha256
height -= 1 height -= 2
blocks = [] blocks = []
# Create extra blocks for later # Create extra blocks for later