remove code that keeps the private key (account) data in memory

This commit is contained in:
2023-07-11 09:10:25 -06:00
parent 47442655cb
commit 8add6448fb
6 changed files with 17 additions and 31 deletions

View File

@@ -320,7 +320,6 @@ export default class AccountViewView extends Vue {
limitsMessage = "";
loadingLimits = true; // might as well now that we do it on mount, to avoid flashing the registration message
showContactGives = false;
private accounts: AccountsSchema;
showDidCopy = false;
showDerCopy = false;
@@ -374,9 +373,8 @@ export default class AccountViewView extends Vue {
}
async beforeCreate() {
accountsDB.open();
this.accounts = accountsDB.accounts;
this.numAccounts = await this.accounts.count();
await accountsDB.open();
this.numAccounts = await accountsDB.accounts.count();
}
async created() {