aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/merkle_blocks.py
diff options
context:
space:
mode:
Diffstat (limited to 'qa/rpc-tests/merkle_blocks.py')
-rwxr-xr-xqa/rpc-tests/merkle_blocks.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/qa/rpc-tests/merkle_blocks.py b/qa/rpc-tests/merkle_blocks.py
index 9419d9a714..b2155d7fc3 100755
--- a/qa/rpc-tests/merkle_blocks.py
+++ b/qa/rpc-tests/merkle_blocks.py
@@ -12,9 +12,10 @@ from test_framework.util import *
class MerkleBlockTest(BitcoinTestFramework):
- def setup_chain(self):
- print("Initializing test directory "+self.options.tmpdir)
- initialize_chain_clean(self.options.tmpdir, 4)
+ def __init__(self):
+ super().__init__()
+ self.setup_clean_chain = True
+ self.num_nodes = 4
def setup_network(self):
self.nodes = []