fix import for derived accounts and hopefully make other account-access code more robust

This commit is contained in:
2025-06-08 19:14:41 -06:00
parent f79568cc5d
commit 26951cc472
6 changed files with 70 additions and 107 deletions

View File

@@ -165,7 +165,7 @@ export default class ImportAccountView extends Vue {
await accountsDB.accounts.clear();
}
}
saveNewIdentity(JSON.stringify(newId), mne, newId, this.derivationPath);
await saveNewIdentity(newId, mne, this.derivationPath);
this.$router.push({ name: "account" });
// eslint-disable-next-line @typescript-eslint/no-explicit-any
} catch (err: any) {