aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_segwit.py
diff options
context:
space:
mode:
authorChristopher Coverdale <chris.coverdale24@gmail.com>2020-06-21 23:32:32 +0100
committerChristopher Coverdale <chris.coverdale24@gmail.com>2020-06-22 12:58:14 +0100
commit20b6e959449d0c07639599b99ba917d2cac62493 (patch)
tree021837bfa0fa9ccc43a70181306bd6af8ce7f121 /test/functional/feature_segwit.py
parent8ef15e8a86038225afef2487ca23abc10ca5dffa (diff)
downloadbitcoin-20b6e959449d0c07639599b99ba917d2cac62493.tar.xz
test: refactor functional tests to use restart_node
Diffstat (limited to 'test/functional/feature_segwit.py')
-rwxr-xr-xtest/functional/feature_segwit.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/feature_segwit.py b/test/functional/feature_segwit.py
index 2298485640..5195d20dcb 100755
--- a/test/functional/feature_segwit.py
+++ b/test/functional/feature_segwit.py
@@ -559,8 +559,7 @@ class SegWitTest(BitcoinTestFramework):
assert_equal(self.nodes[1].listtransactions("*", 1, 0, True)[0]["txid"], txid)
# Assert it is properly saved
- self.stop_node(1)
- self.start_node(1)
+ self.restart_node(1)
assert_equal(self.nodes[1].gettransaction(txid, True)["txid"], txid)
assert_equal(self.nodes[1].listtransactions("*", 1, 0, True)[0]["txid"], txid)