diff options
author | Christopher Coverdale <chris.coverdale24@gmail.com> | 2020-06-21 23:32:32 +0100 |
---|---|---|
committer | Christopher Coverdale <chris.coverdale24@gmail.com> | 2020-06-22 12:58:14 +0100 |
commit | 20b6e959449d0c07639599b99ba917d2cac62493 (patch) | |
tree | 021837bfa0fa9ccc43a70181306bd6af8ce7f121 /test/functional/wallet_dump.py | |
parent | 8ef15e8a86038225afef2487ca23abc10ca5dffa (diff) | |
download | bitcoin-20b6e959449d0c07639599b99ba917d2cac62493.tar.xz |
test: refactor functional tests to use restart_node
Diffstat (limited to 'test/functional/wallet_dump.py')
-rwxr-xr-x | test/functional/wallet_dump.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/wallet_dump.py b/test/functional/wallet_dump.py index cc349c7bc5..ba1e494d9a 100755 --- a/test/functional/wallet_dump.py +++ b/test/functional/wallet_dump.py @@ -190,8 +190,7 @@ class WalletDumpTest(BitcoinTestFramework): assert_raises_rpc_error(-8, "already exists", lambda: self.nodes[0].dumpwallet(wallet_enc_dump)) # Restart node with new wallet, and test importwallet - self.stop_node(0) - self.start_node(0, ['-wallet=w2']) + self.restart_node(0, ['-wallet=w2']) # Make sure the address is not IsMine before import result = self.nodes[0].getaddressinfo(multisig_addr) |