|
@ -228,7 +228,7 @@ export default class AccountViewView extends Vue { |
|
|
const num_accounts = await db.accounts.count(); |
|
|
const num_accounts = await db.accounts.count(); |
|
|
if (num_accounts === 0) { |
|
|
if (num_accounts === 0) { |
|
|
console.log("..."); |
|
|
console.log("..."); |
|
|
await db._allTables.accounts.add({ |
|
|
await db.accounts.add({ |
|
|
publicKey: newId.keys[0].publicKeyHex, |
|
|
publicKey: newId.keys[0].publicKeyHex, |
|
|
mnemonic: this.mnemonic, |
|
|
mnemonic: this.mnemonic, |
|
|
identity: JSON.stringify(newId), |
|
|
identity: JSON.stringify(newId), |
|
|