File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -395,9 +395,6 @@ def __init__(
395395 fd = get_file_descriptor (config )
396396 if fd is None :
397397 raise Exception ('failed to lock daemon; already running?' )
398- if 'wallet_path' in config .cmdline_options :
399- self .logger .warning ("Ignoring parameter 'wallet_path' for daemon. "
400- "Use the load_wallet command instead." )
401398 self ._plugins = None # type: Optional[Plugins]
402399 self .asyncio_loop = util .get_asyncio_loop ()
403400 if not self .config .NETWORK_OFFLINE :
@@ -562,6 +559,9 @@ async def _stop_wallet(self, path: str) -> bool:
562559 return True
563560
564561 def run_daemon (self ):
562+ if 'wallet_path' in self .config .cmdline_options :
563+ self .logger .warning ("Ignoring parameter 'wallet_path' for daemon. "
564+ "Use the load_wallet command instead." )
565565 # init plugins
566566 self ._plugins = Plugins (self .config , 'cmdline' )
567567 # block until we are stopping
You can’t perform that action at this time.
0 commit comments