Skip to content

Commit 03732f8

Browse files
author
MarcoFalke
committed
Merge #14543: [QA] minor p2p_sendheaders fix of height in coinbase
1cdb9bb 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
2 parents 6543570 + 1cdb9bb commit 03732f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/p2p_sendheaders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ def test_nonnull_locators(self, test_node, inv_node):
490490

491491
# Now announce a header that forks the last two blocks
492492
tip = blocks[0].sha256
493-
height -= 1
493+
height -= 2
494494
blocks = []
495495

496496
# Create extra blocks for later

0 commit comments

Comments
 (0)