|
@ -1092,13 +1092,13 @@ export default class AccountViewView extends Vue { |
|
|
this.publicHex = identity.keys[0].publicKeyHex; |
|
|
this.publicHex = identity.keys[0].publicKeyHex; |
|
|
this.publicBase64 = Buffer.from(this.publicHex, "hex").toString("base64"); |
|
|
this.publicBase64 = Buffer.from(this.publicHex, "hex").toString("base64"); |
|
|
this.derivationPath = identity.keys[0].meta?.derivationPath as string; |
|
|
this.derivationPath = identity.keys[0].meta?.derivationPath as string; |
|
|
await this.checkLimits(); |
|
|
|
|
|
} else if (account?.publicKeyHex) { |
|
|
} else if (account?.publicKeyHex) { |
|
|
// use the backup values in the top level of the account object |
|
|
// use the backup values in the top level of the account object |
|
|
this.publicHex = account.publicKeyHex as string; |
|
|
this.publicHex = account.publicKeyHex as string; |
|
|
this.publicBase64 = Buffer.from(this.publicHex, "hex").toString("base64"); |
|
|
this.publicBase64 = Buffer.from(this.publicHex, "hex").toString("base64"); |
|
|
this.derivationPath = account.derivationPath as string; |
|
|
this.derivationPath = account.derivationPath as string; |
|
|
await this.checkLimits(); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|