From fae596f0e421148b797197baff089a87b3193dbd Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Thu, 30 Jun 2016 14:49:59 +0200 Subject: [qa] Sort scripts by time for pull_tester and don't overwrite setup_chain --- qa/rpc-tests/p2p-segwit.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'qa/rpc-tests/p2p-segwit.py') diff --git a/qa/rpc-tests/p2p-segwit.py b/qa/rpc-tests/p2p-segwit.py index cf78954f28..c67b772451 100755 --- a/qa/rpc-tests/p2p-segwit.py +++ b/qa/rpc-tests/p2p-segwit.py @@ -163,8 +163,11 @@ class UTXO(object): class SegWitTest(BitcoinTestFramework): - def setup_chain(self): - initialize_chain_clean(self.options.tmpdir, 3) + + def __init__(self): + super().__init__() + self.setup_clean_chain = True + self.num_nodes = 3 def add_options(self, parser): parser.add_option("--oldbinary", dest="oldbinary", -- cgit v1.2.3