commit 032f40640ecbdf2c38cf5987888057ccb2e05bcc
parent d9c05914256d7f46b1004d07011324045e065a8f
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 25 Mar 2018 23:38:55 +0200
revert previous commit, use #4062
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/daemon.py b/lib/daemon.py
@@ -173,6 +173,8 @@ class Daemon(DaemonThread):
elif sub == 'load_wallet':
path = config.get_wallet_path()
wallet = self.load_wallet(path, config.get('password'))
+ if wallet is not None:
+ self.cmd_runner.wallet = wallet
response = wallet is not None
elif sub == 'close_wallet':
path = config.get_wallet_path()