diff options
author | Dan Finlay <dan@danfinlay.com> | 2018-06-05 06:34:38 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2018-06-05 06:34:38 +0800 |
commit | 41f292437dd6c7144e36efa8609a419c7dd88da7 (patch) | |
tree | 937246d88e3dac3598567a1ae6cba81600c5def9 /app | |
parent | ae156e10872faae3040540a7f440af5882a79ec2 (diff) | |
download | tangerine-wallet-browser-41f292437dd6c7144e36efa8609a419c7dd88da7.tar tangerine-wallet-browser-41f292437dd6c7144e36efa8609a419c7dd88da7.tar.gz tangerine-wallet-browser-41f292437dd6c7144e36efa8609a419c7dd88da7.tar.bz2 tangerine-wallet-browser-41f292437dd6c7144e36efa8609a419c7dd88da7.tar.lz tangerine-wallet-browser-41f292437dd6c7144e36efa8609a419c7dd88da7.tar.xz tangerine-wallet-browser-41f292437dd6c7144e36efa8609a419c7dd88da7.tar.zst tangerine-wallet-browser-41f292437dd6c7144e36efa8609a419c7dd88da7.zip |
Record identity before deleting it
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/controllers/preferences.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/preferences.js b/app/scripts/controllers/preferences.js index 942546528..2fe009f9a 100644 --- a/app/scripts/controllers/preferences.js +++ b/app/scripts/controllers/preferences.js @@ -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] } }) |