From 032f40640ecbdf2c38cf5987888057ccb2e05bcc Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 25 Mar 2018 23:38:55 +0200 Subject: [PATCH] revert previous commit, use #4062 --- lib/daemon.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/daemon.py b/lib/daemon.py index c1e74ff6b..ab75625d3 100644 --- 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()