aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_backwards_compatibility.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_backwards_compatibility.py
parent8ef15e8a86038225afef2487ca23abc10ca5dffa (diff)
downloadbitcoin-20b6e959449d0c07639599b99ba917d2cac62493.tar.xz
test: refactor functional tests to use restart_node
Diffstat (limited to 'test/functional/feature_backwards_compatibility.py')
-rwxr-xr-xtest/functional/feature_backwards_compatibility.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/functional/feature_backwards_compatibility.py b/test/functional/feature_backwards_compatibility.py
index 85e727aff1..5cddd6527e 100755
--- a/test/functional/feature_backwards_compatibility.py
+++ b/test/functional/feature_backwards_compatibility.py
@@ -311,15 +311,13 @@ class BackwardsCompatibilityTest(BitcoinTestFramework):
self.start_node(4)
# Open most recent wallet in v0.16 (no loadwallet RPC)
- self.stop_node(5)
- self.start_node(5, extra_args=["-wallet=w2"])
+ self.restart_node(5, extra_args=["-wallet=w2"])
wallet = node_v16.get_wallet_rpc("w2")
info = wallet.getwalletinfo()
assert info['keypoolsize'] == 1
# Create upgrade wallet in v0.16
- self.stop_node(-1)
- self.start_node(-1, extra_args=["-wallet=u1_v16"])
+ self.restart_node(-1, extra_args=["-wallet=u1_v16"])
wallet = node_v16.get_wallet_rpc("u1_v16")
v16_addr = wallet.getnewaddress('', "bech32")
v16_info = wallet.validateaddress(v16_addr)