aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/p2p-segwit.py
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2016-06-30 14:49:59 +0200
committerMarcoFalke <[email protected]>2016-07-15 20:18:11 +0200
commitfae596f0e421148b797197baff089a87b3193dbd (patch)
tree4c2a8a9dbe33901ce14b1e8412157511d4b1b239 /qa/rpc-tests/p2p-segwit.py
parentMerge #8261: The bit field is shown only when status is "started" (diff)
downloaddiscoin-fae596f0e421148b797197baff089a87b3193dbd.tar.xz
discoin-fae596f0e421148b797197baff089a87b3193dbd.zip
[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 cf78954f2..c67b77245 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",