aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_encryption.py
diff options
context:
space:
mode:
authorAndrew Chow <[email protected]>2018-02-20 16:09:51 -0500
committerAndrew Chow <[email protected]>2018-08-09 11:28:33 -0700
commitc1dde3a949b36ce9c2155777b3fa1372e7ed97d8 (patch)
tree9cb5be1a30f907106f3968a384eeb905cef660b9 /test/functional/wallet_encryption.py
parentAfter encrypting the wallet, reload the database environment (diff)
downloaddiscoin-c1dde3a949b36ce9c2155777b3fa1372e7ed97d8.tar.xz
discoin-c1dde3a949b36ce9c2155777b3fa1372e7ed97d8.zip
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-xtest/functional/wallet_encryption.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/wallet_encryption.py b/test/functional/wallet_encryption.py
index cec966025..d5e797164 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)