1
0

qml: store current wallet when switching to already open wallet

This commit is contained in:
Sander van Grieken
2025-12-18 09:48:09 +01:00
parent 4cab0ceddd
commit 7d5d51975f

View File

@@ -499,6 +499,8 @@ class Daemon(Logger):
if wallet := self._wallets.get(wallet_key):
if force_check_password:
wallet.check_password(password)
if self.config.get('wallet_path') is None:
self.config.CURRENT_WALLET = path
return wallet
wallet = self._load_wallet(
path, password, upgrade=upgrade, config=self.config, force_check_password=force_check_password)