Skip to content
Snippets Groups Projects
Commit 308a87be authored by poka's avatar poka
Browse files

enh(accounts) Forget accounts on logout even in dev mode

parent 63137774
No related branches found
No related tags found
1 merge request!25enh/forget-account-dev-mode
......@@ -852,11 +852,9 @@ export class AccountsService extends RxStartableService<AccountsState> {
}
forgetAll() {
if (environment.production) {
(this.accounts || []).forEach((account) => {
keyring.forgetAccount(account.address);
});
}
this.accounts = [];
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment