mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-22 18:12:31 +02:00
minor p2p_sendheaders fix of height in coinbase
This commit is contained in:
parent
5c25409d68
commit
1cdb9bb51f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user