wip: multi account

This commit is contained in:
Ren Amamiya
2023-09-28 14:00:52 +07:00
parent 0e6fc65b08
commit 4f4e2f5ccd
11 changed files with 59 additions and 30 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ export function ImportStep2Screen() {
if (!db.secureDB) db.secureDB = stronghold;
// save privkey to secure storage
await db.secureSave(pubkey, privkey);
await db.secureSave(pubkey, privkey, pubkey);
// redirect to next step
navigate('/auth/import/step-3', { replace: true });