aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_keypool.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_keypool.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_keypool.py')
-rwxr-xr-xtest/functional/wallet_keypool.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/wallet_keypool.py b/test/functional/wallet_keypool.py
index b00649162..1d8e0cdf3 100755
--- a/test/functional/wallet_keypool.py
+++ b/test/functional/wallet_keypool.py
@@ -20,9 +20,7 @@ class KeyPoolTest(BitcoinTestFramework):
assert(addr_before_encrypting_data['hdseedid'] == wallet_info_old['hdseedid'])
# Encrypt wallet and wait to terminate
- nodes[0].node_encrypt_wallet('test')
- # Restart node 0
- self.start_node(0)
+ nodes[0].encryptwallet('test')
# Keep creating keys
addr = nodes[0].getnewaddress()
addr_data = nodes[0].getaddressinfo(addr)