mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Record identity before deleting it
This commit is contained in:
parent
ae156e1087
commit
41f292437d
@ -119,8 +119,8 @@ class PreferencesController {
|
||||
let newlyLost = {}
|
||||
Object.keys(identities).forEach((identity) => {
|
||||
if (!addresses.includes(identity)) {
|
||||
delete identities[identity]
|
||||
newlyLost[identity] = identities[identity]
|
||||
delete identities[identity]
|
||||
}
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user