|
@ -221,7 +221,6 @@ export default class AccountViewView extends Vue { |
|
|
UPORT_ROOT_DERIVATION_PATH |
|
|
UPORT_ROOT_DERIVATION_PATH |
|
|
); |
|
|
); |
|
|
console.log(newId); |
|
|
console.log(newId); |
|
|
db.open(); |
|
|
|
|
|
db.accounts.add({ |
|
|
db.accounts.add({ |
|
|
did: address, |
|
|
did: address, |
|
|
kid: newId.keys[0].kid, |
|
|
kid: newId.keys[0].kid, |
|
@ -231,7 +230,6 @@ export default class AccountViewView extends Vue { |
|
|
publicKeyHex: publicHex, |
|
|
publicKeyHex: publicHex, |
|
|
type: "Secp256k1", |
|
|
type: "Secp256k1", |
|
|
}); |
|
|
}); |
|
|
db.close(); |
|
|
|
|
|
//appStore.dispatch(appSlice.actions.addLog({log: false, msg: "... created new ID..."})) |
|
|
//appStore.dispatch(appSlice.actions.addLog({log: false, msg: "... created new ID..."})) |
|
|
accountStore.account = JSON.stringify(newId); |
|
|
accountStore.account = JSON.stringify(newId); |
|
|
//appStore.dispatch(appSlice.actions.addLog({log: false, msg: "... stored new ID..."})) |
|
|
//appStore.dispatch(appSlice.actions.addLog({log: false, msg: "... stored new ID..."})) |
|
|