diff --git a/app/core/Engine/Engine.ts b/app/core/Engine/Engine.ts index 6c1c5f0ef4d7..02f60b5551ae 100644 --- a/app/core/Engine/Engine.ts +++ b/app/core/Engine/Engine.ts @@ -443,15 +443,13 @@ export class Engine { allowedEvents: [], }); - // Necessary to persist the keyrings and update the accounts both within the keyring controller and accounts controller - const persistAndUpdateAccounts = async () => { - await this.keyringController.persistAllKeyrings(); - await this.accountsController.updateAccounts(); - }; - additionalKeyrings.push( snapKeyringBuilder(snapKeyringBuildMessenger, { - persistKeyringHelper: () => persistAndUpdateAccounts(), + persistKeyringHelper: async () => { + // Necessary to only persist the keyrings, the `AccountsController` will + // automatically react to `KeyringController:stateChange`. + await this.keyringController.persistAllKeyrings(); + }, removeAccountHelper: (address) => this.removeAccount(address), }), );