1
0

config: remove 'open_last_wallet' side-effecting

related: #5629
This commit is contained in:
SomberNight
2019-09-10 17:10:52 +02:00
parent d1026b5afe
commit 1a08063928
6 changed files with 25 additions and 22 deletions

View File

@@ -366,8 +366,7 @@ class Daemon(Logger):
config = SimpleConfig(config_options)
if self.gui_object:
if hasattr(self.gui_object, 'new_window'):
config.open_last_wallet()
path = config.get_wallet_path()
path = config.get_wallet_path(use_gui_last_wallet=True)
self.gui_object.new_window(path, config.get('url'))
response = "ok"
else: