forked from LBRYCommunity/lbry-sdk
migrate certificates after importing new account
This commit is contained in:
parent
dc427ecf6c
commit
ba60aeeebc
1 changed files with 2 additions and 0 deletions
|
@ -1987,6 +1987,8 @@ class Daemon(metaclass=JSONRPCServerType):
|
|||
wallet_changed = False
|
||||
if data is not None:
|
||||
added_accounts = wallet.merge(self.wallet_manager, password, data)
|
||||
for new_account in added_accounts:
|
||||
await new_account.maybe_migrate_certificates()
|
||||
if added_accounts and self.ledger.network.is_connected:
|
||||
if blocking:
|
||||
await asyncio.wait([
|
||||
|
|
Loading…
Reference in a new issue