aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Sanders <gsanders87@gmail.com>2018-10-22 16:47:50 -0400
committerGregory Sanders <gsanders87@gmail.com>2018-10-22 16:47:50 -0400
commit1cdb9bb51fa9f6396c8a684b3340b32b29d626e5 (patch)
tree66dc59c11b6751e60077da7b3120f8cf3aa7f2db
parent5c25409d6851182c5e351720cee36812c229b77a (diff)
downloadbitcoin-1cdb9bb51fa9f6396c8a684b3340b32b29d626e5.tar.xz
minor p2p_sendheaders fix of height in coinbase
-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