aboutsummaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-08-31 17:35:59 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2016-10-17 16:46:30 +0200
commit3ac6de0a045cc9b2047ceb19af970e7ffbf905fa (patch)
treedb39a34fe1c247bf8b42c05c2bcbf20b4ac3903c /qa
parentb2e93a343ec2dc7d255b970e6ee45e9c390f7ed0 (diff)
downloadbitcoin-3ac6de0a045cc9b2047ceb19af970e7ffbf905fa.tar.xz
Align constant names for maximum compact block / blocktxn depth
Diffstat (limited to 'qa')
-rwxr-xr-xqa/rpc-tests/p2p-compactblocks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/rpc-tests/p2p-compactblocks.py b/qa/rpc-tests/p2p-compactblocks.py
index a24066b077..6b5d477131 100755
--- a/qa/rpc-tests/p2p-compactblocks.py
+++ b/qa/rpc-tests/p2p-compactblocks.py
@@ -632,9 +632,9 @@ class CompactBlocksTest(BitcoinTestFramework):
def test_compactblocks_not_at_tip(self, node, test_node):
# Test that requesting old compactblocks doesn't work.
- MAX_CMPCTBLOCK_DEPTH = 6
+ MAX_CMPCTBLOCK_DEPTH = 5
new_blocks = []
- for i in range(MAX_CMPCTBLOCK_DEPTH):
+ for i in range(MAX_CMPCTBLOCK_DEPTH + 1):
test_node.clear_block_announcement()
new_blocks.append(node.generate(1)[0])
wait_until(test_node.received_block_announcement, timeout=30)