anchor channels: unlock wallet on startup if the wallet has channels
This commit is contained in:
@@ -495,6 +495,8 @@ class Daemon(Logger):
|
||||
if wallet := self._wallets.get(wallet_key):
|
||||
return wallet
|
||||
wallet = self._load_wallet(path, password, upgrade=upgrade, config=self.config)
|
||||
if wallet.requires_unlock():
|
||||
wallet.unlock(password)
|
||||
wallet.start_network(self.network)
|
||||
self.add_wallet(wallet)
|
||||
self.update_recently_opened_wallets(path)
|
||||
|
||||
Reference in New Issue
Block a user