aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p-segwit.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-03-23 23:56:31 -0400
committerJohn Newbery <john@johnnewbery.com>2017-05-31 16:59:38 -0400
commitd8c218f9c268b00ed9bb8e7ee00e980a0fa326de (patch)
tree23f699605512b7d3c643461b8939724edc3850e8 /test/functional/p2p-segwit.py
parentc1c9a95379d364ea8ca5d3d0789e8afb1a99bb8b (diff)
downloadbitcoin-d8c218f9c268b00ed9bb8e7ee00e980a0fa326de.tar.xz
[tests] Functional tests call self.start_node(s) and self.stop_node(s)
This commit changes the individual test scripts to call the start_node(s) and stop_node(s) methods in BitcoinTestFramework.
Diffstat (limited to 'test/functional/p2p-segwit.py')
-rwxr-xr-xtest/functional/p2p-segwit.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/p2p-segwit.py b/test/functional/p2p-segwit.py
index 24d4d37c42..ab97596ba3 100755
--- a/test/functional/p2p-segwit.py
+++ b/test/functional/p2p-segwit.py
@@ -1495,8 +1495,8 @@ class SegWitTest(BitcoinTestFramework):
sync_blocks(self.nodes)
# Restart with the new binary
- stop_node(node, node_id)
- self.nodes[node_id] = start_node(node_id, self.options.tmpdir)
+ self.stop_node(node_id)
+ self.nodes[node_id] = self.start_node(node_id, self.options.tmpdir)
connect_nodes(self.nodes[0], node_id)
sync_blocks(self.nodes)