Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
Restore _updateMemStoreKeyrings call to forgetDevice
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing committed Nov 7, 2022
1 parent a4e01d0 commit 37af169
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,7 @@ class KeyringController extends EventEmitter {
if (keyring.forgetDevice) {
keyring.forgetDevice();
this.persistAllKeyrings.bind(this)();
this._updateMemStoreKeyrings.bind(this)();
} else {
throw new Error(
`KeyringController - keyring does not have method "forgetDevice", keyring type: ${keyring.type}`,
Expand Down

0 comments on commit 37af169

Please sign in to comment.