aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_keypool.py
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2018-02-20 16:09:51 -0500
committerJoão Barbosa <joao.paulo.barbosa@gmail.com>2019-03-11 13:20:41 +0000
commit1c98a758d0f43f12d600731373758303cefe7cd7 (patch)
tree36a58b7fafc81553f76501a48030c87f6cbde97f /test/functional/wallet_keypool.py
parent435df68c62562e30a6d11b0bfc2cf56434dbc4a0 (diff)
downloadbitcoin-1c98a758d0f43f12d600731373758303cefe7cd7.tar.xz
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. Github-Pull: #12493 Rebased-From: c1dde3a
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 acc336e4d5..51afa0cb1a 100755
--- a/test/functional/wallet_keypool.py
+++ b/test/functional/wallet_keypool.py
@@ -25,9 +25,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)