Skip to content

Commit 1cdb9bb

Browse files
committed
minor p2p_sendheaders fix of height in coinbase
1 parent 5c25409 commit 1cdb9bb

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)