Logout for private key imports

This commit is contained in:
armaniferrante 2020-11-09 17:47:07 -08:00
parent 87becaf5c0
commit cab0097d46
No known key found for this signature in database
GPG Key ID: 58BEF301E91F7828
1 changed files with 2 additions and 1 deletions

View File

@ -115,9 +115,10 @@ export function lockWallet() {
export function forgetWallet() {
localStorage.removeItem('walletIndex');
localStorage.removeItem('walletCount');
localStorage.removeItem('walletPrivateKeyImports');
localStorage.removeItem('locked');
localStorage.removeItem('unlocked');
sessionStorage.removeItem('unlocked');
unlockedMnemonicAndSeed = { mnemonic: null, seed: null };
unlockedMnemonicAndSeed = { mnemonic: null, seed: null, importsEncryptionKey: null };
walletSeedChanged.emit('change', unlockedMnemonicAndSeed);
}