diff options
| author | Andrew Chow <[email protected]> | 2018-02-20 16:09:51 -0500 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2018-08-09 11:28:33 -0700 |
| commit | c1dde3a949b36ce9c2155777b3fa1372e7ed97d8 (patch) | |
| tree | 9cb5be1a30f907106f3968a384eeb905cef660b9 /test/functional/wallet_dump.py | |
| parent | After encrypting the wallet, reload the database environment (diff) | |
| download | discoin-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_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 63316d964..7ddfd2c80 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() |