aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/p2p-segwit.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-06-30 14:49:59 +0200
committerMarcoFalke <falke.marco@gmail.com>2016-07-15 20:18:11 +0200
commitfae596f0e421148b797197baff089a87b3193dbd (patch)
tree4c2a8a9dbe33901ce14b1e8412157511d4b1b239 /qa/rpc-tests/p2p-segwit.py
parent3685e0c1da296be533fef4abcf1b1734ed7d85e7 (diff)
downloadbitcoin-fae596f0e421148b797197baff089a87b3193dbd.tar.xz
[qa] Sort scripts by time for pull_tester and don't overwrite setup_chain
Diffstat (limited to 'qa/rpc-tests/p2p-segwit.py')
-rwxr-xr-xqa/rpc-tests/p2p-segwit.py7
1 files changed, 5 insertions, 2 deletions
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",