|
@ -79,7 +79,7 @@ export default class ImportAccountView extends Vue { |
|
|
const num_accounts = await db.accounts.count(); |
|
|
const num_accounts = await db.accounts.count(); |
|
|
if (num_accounts === 0) { |
|
|
if (num_accounts === 0) { |
|
|
await db.accounts.add({ |
|
|
await db.accounts.add({ |
|
|
dateCreated: new Date(), |
|
|
dateCreated: new Date().toISOString(), |
|
|
derivationPath: this.derivationPath, |
|
|
derivationPath: this.derivationPath, |
|
|
identity: JSON.stringify(newId), |
|
|
identity: JSON.stringify(newId), |
|
|
mnemonic: mne, |
|
|
mnemonic: mne, |
|
|