revert previous commit, use #4062

This commit is contained in:
ThomasV 2018-03-25 23:38:55 +02:00
parent d9c0591425
commit 032f40640e

View file

@ -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()