mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-04 20:51:27 +02:00
minor p2p_sendheaders fix of height in coinbase
This commit is contained in:
@ -490,7 +490,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
|
||||||
|
Reference in New Issue
Block a user