commit 32d53052956bbbc60683cec0308afe127eed304e
parent 071bc27016125f214be0f433c3a0cb2ed73ed0d6
Author: SomberNight <somber.night@protonmail.com>
Date: Fri, 28 Sep 2018 16:43:25 +0200
fix daemon.load_wallet
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/electrum/daemon.py b/electrum/daemon.py
@@ -163,6 +163,7 @@ class Daemon(DaemonThread):
return True
def run_daemon(self, config_options):
+ asyncio.set_event_loop(self.network.asyncio_loop)
config = SimpleConfig(config_options)
sub = config.get('subcommand')
assert sub in [None, 'start', 'stop', 'status', 'load_wallet', 'close_wallet']