aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-02-12 11:09:57 -0500
committerMarcoFalke <falke.marco@gmail.com>2019-02-12 11:10:02 -0500
commit03732f8644a449af34f4df1bb3b8915fb15ef22c (patch)
tree99fd576b23df4aabe253af808b79cf58f244b3d3
parent65435701efdafc6b91db542327c57c69386f02eb (diff)
parent1cdb9bb51fa9f6396c8a684b3340b32b29d626e5 (diff)
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
-rwxr-xr-xtest/functional/p2p_sendheaders.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/p2p_sendheaders.py b/test/functional/p2p_sendheaders.py
index c7ae57de86..7d7d251765 100755
--- a/test/functional/p2p_sendheaders.py
+++ b/test/functional/p2p_sendheaders.py
@@ -490,7 +490,7 @@ class SendHeadersTest(BitcoinTestFramework):
# Now announce a header that forks the last two blocks
tip = blocks[0].sha256
- height -= 1
+ height -= 2
blocks = []
# Create extra blocks for later