aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_fundrawtransaction.py
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2018-02-20 16:09:51 -0500
committerAndrew Chow <achow101-github@achow101.com>2018-08-09 11:28:33 -0700
commitc1dde3a949b36ce9c2155777b3fa1372e7ed97d8 (patch)
tree9cb5be1a30f907106f3968a384eeb905cef660b9 /test/functional/rpc_fundrawtransaction.py
parentd7637c5a3f1d62922594cdfb6272e30dacf60ce9 (diff)
downloadbitcoin-c1dde3a949b36ce9c2155777b3fa1372e7ed97d8.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.
Diffstat (limited to 'test/functional/rpc_fundrawtransaction.py')
-rwxr-xr-xtest/functional/rpc_fundrawtransaction.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/functional/rpc_fundrawtransaction.py b/test/functional/rpc_fundrawtransaction.py
index a806de43b4..a4985a7a18 100755
--- a/test/functional/rpc_fundrawtransaction.py
+++ b/test/functional/rpc_fundrawtransaction.py
@@ -475,10 +475,8 @@ class RawTransactionsTest(BitcoinTestFramework):
############################################################
# locked wallet test
- self.stop_node(0)
- self.nodes[1].node_encrypt_wallet("test")
- self.stop_node(2)
- self.stop_node(3)
+ self.nodes[1].encryptwallet("test")
+ self.stop_nodes()
self.start_nodes()
# This test is not meant to test fee estimation and we'd like