aboutsummaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2015-11-30 13:29:20 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2015-11-30 13:29:20 +0100
commitaa4b0c26b0a94ca6164c441aae723e118554d214 (patch)
tree1e4659e95fa06fff2300dfd0d3cbca4e7c354c56 /qa
parentd41e44c9accb3df84e0abbc602cc76b72754d382 (diff)
downloadbitcoin-aa4b0c26b0a94ca6164c441aae723e118554d214.tar.xz
When not filtering blocks, getdata sends more in one test
Diffstat (limited to 'qa')
-rwxr-xr-xqa/rpc-tests/sendheaders.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/sendheaders.py b/qa/rpc-tests/sendheaders.py
index d7f4292090..63e071805a 100755
--- a/qa/rpc-tests/sendheaders.py
+++ b/qa/rpc-tests/sendheaders.py
@@ -389,7 +389,7 @@ class SendHeadersTest(BitcoinTestFramework):
# Use getblocks/getdata
test_node.send_getblocks(locator = [fork_point])
- assert_equal(test_node.check_last_announcement(inv=new_block_hashes[0:-1]), True)
+ assert_equal(test_node.check_last_announcement(inv=new_block_hashes), True)
test_node.get_data(new_block_hashes)
test_node.wait_for_block(new_block_hashes[-1])