diff options
author | Andrew Chow <achow101-github@achow101.com> | 2018-02-20 16:09:51 -0500 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2018-08-09 11:28:33 -0700 |
commit | c1dde3a949b36ce9c2155777b3fa1372e7ed97d8 (patch) | |
tree | 9cb5be1a30f907106f3968a384eeb905cef660b9 /test/functional/wallet_dump.py | |
parent | d7637c5a3f1d62922594cdfb6272e30dacf60ce9 (diff) |
No longer shutdown after encrypting the wallet
Since the database environment is flushed, closed, and reopened during
EncryptWallet, there is no need to shut down the software anymore.
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 63316d9644..7ddfd2c808 100755 --- a/test/functional/wallet_dump.py +++ b/test/functional/wallet_dump.py @@ -121,8 +121,7 @@ class WalletDumpTest(BitcoinTestFramework): assert_equal(witness_addr_ret, witness_addr) # p2sh-p2wsh address added to the first key #encrypt wallet, restart, unlock and dump - self.nodes[0].node_encrypt_wallet('test') - self.start_node(0) + self.nodes[0].encryptwallet('test') self.nodes[0].walletpassphrase('test', 10) # Should be a no-op: self.nodes[0].keypoolrefill() |