fix daemon.load_wallet
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user