1
0

Merge pull request #10375 from accumulator/qml_current_wallet_update

qml: store current wallet when switching to already open wallet
This commit is contained in:
ghost43
2025-12-18 14:52:12 +00:00
committed by GitHub

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)