mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 09:23:21 +01:00
Remove call to _updateMemStoreKeyrings
(#20369)
* Call the right `updateMemStoreKeyrings` method from `KeyringController` * fix: don't call redundant methods Co-authored-by: Michele Esposito <34438276+mikesposito@users.noreply.github.com> --------- Co-authored-by: Michele Esposito <34438276+mikesposito@users.noreply.github.com>
This commit is contained in:
parent
b296f48c11
commit
0489911cc8
@ -1931,8 +1931,6 @@ export default class MetamaskController extends EventEmitter {
|
||||
getSnapKeyring: this.getSnapKeyring.bind(this),
|
||||
saveSnapKeyring: async () => {
|
||||
await this.keyringController.persistAllKeyrings();
|
||||
await this.keyringController._updateMemStoreKeyrings();
|
||||
await this.keyringController.fullUpdate();
|
||||
},
|
||||
///: END:ONLY_INCLUDE_IN
|
||||
///: BEGIN:ONLY_INCLUDE_IN(snaps)
|
||||
|
Loading…
Reference in New Issue
Block a user