diff options
Diffstat (limited to 'qa/rpc-tests/segwit.py')
-rwxr-xr-x | qa/rpc-tests/segwit.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/qa/rpc-tests/segwit.py b/qa/rpc-tests/segwit.py index d4c9a8afed..f88230cbb9 100755 --- a/qa/rpc-tests/segwit.py +++ b/qa/rpc-tests/segwit.py @@ -71,9 +71,10 @@ def getutxo(txid): class SegWitTest(BitcoinTestFramework): - def setup_chain(self): - print("Initializing test directory "+self.options.tmpdir) - initialize_chain_clean(self.options.tmpdir, 3) + def __init__(self): + super().__init__() + self.setup_clean_chain = True + self.num_nodes = 3 def setup_network(self): self.nodes = [] |