forked from trent_larson/crowd-funder-for-time-pwa
add invite-one-accept screen dedicated to accepting invitations
This commit is contained in:
@@ -1070,6 +1070,7 @@ export async function generateEndorserJwtForAccount(
|
||||
contactInfo.own.profileImageUrl = profileImageUrl;
|
||||
}
|
||||
|
||||
// Add the next key -- but note that it makes the QR more detailed
|
||||
if (includeNextKeyIfDerived && account?.mnemonic && account?.derivationPath) {
|
||||
const newDerivPath = nextDerivationPath(account.derivationPath as string);
|
||||
const nextPublicHex = deriveAddress(
|
||||
@@ -1082,6 +1083,7 @@ export async function generateEndorserJwtForAccount(
|
||||
Buffer.from(nextPublicEncKeyHash).toString("base64");
|
||||
contactInfo.own.nextPublicEncKeyHash = nextPublicEncKeyHashBase64;
|
||||
}
|
||||
|
||||
const vcJwt = await createEndorserJwtForDid(account.did, contactInfo);
|
||||
|
||||
const viewPrefix = CONTACT_URL_PREFIX + ENDORSER_JWT_URL_LOCATION;
|
||||
|
||||
Reference in New Issue
Block a user