aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/p2p-mempool.py
diff options
context:
space:
mode:
Diffstat (limited to 'qa/rpc-tests/p2p-mempool.py')
-rwxr-xr-xqa/rpc-tests/p2p-mempool.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/qa/rpc-tests/p2p-mempool.py b/qa/rpc-tests/p2p-mempool.py
index 5d2daf39f8..5c5d778f42 100755
--- a/qa/rpc-tests/p2p-mempool.py
+++ b/qa/rpc-tests/p2p-mempool.py
@@ -72,8 +72,11 @@ class TestNode(NodeConnCB):
self.send_message(msg_mempool())
class P2PMempoolTests(BitcoinTestFramework):
- def setup_chain(self):
- initialize_chain_clean(self.options.tmpdir, 2)
+
+ def __init__(self):
+ super().__init__()
+ self.setup_clean_chain = True
+ self.num_nodes = 2
def setup_network(self):
# Start a node with maxuploadtarget of 200 MB (/24h)