Skip to content
Snippets Groups Projects

enh/forget-account-dev-mode

Open poka requested to merge enh/forget-account-dev-mode into develop
1 file
+ 3
5
Compare changes
  • Side-by-side
  • Inline
@@ -1070,11 +1070,9 @@ export class AccountsService extends RxStartableService<AccountsState> {
}
forgetAll() {
if (environment.production) {
(this.accounts || []).forEach((account) => {
keyring.forgetAccount(account.address);
});
}
(this.accounts || []).forEach((account) => {
keyring.forgetAccount(account.address);
});
this.accounts = [];
}
}
Loading