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_encryption.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_encryption.py')
-rwxr-xr-x | test/functional/wallet_encryption.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/wallet_encryption.py b/test/functional/wallet_encryption.py index cec9660259..d5e797164b 100755 --- a/test/functional/wallet_encryption.py +++ b/test/functional/wallet_encryption.py @@ -30,8 +30,7 @@ class WalletEncryptionTest(BitcoinTestFramework): assert_equal(len(privkey), 52) # Encrypt the wallet - self.nodes[0].node_encrypt_wallet(passphrase) - self.start_node(0) + self.nodes[0].encryptwallet(passphrase) # Test that the wallet is encrypted assert_raises_rpc_error(-13, "Please enter the wallet passphrase with walletpassphrase first", self.nodes[0].dumpprivkey, address) |