Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Chinchilla <[email protected]>
  • Loading branch information
ChrisChinchilla committed Apr 9, 2024
1 parent 3087168 commit a1c2a2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions code_examples/sdk_examples/src/dapp/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ export async function testDapp(account: Kilt.KeyringPair, wssAddress: string) {
await getFunds(account, dappAccount.address, 4)

// Create attester DID & ensure CType.
const { fullDid: attesterDid, mnemonic: attesterMnemonic } =
const { fullDid: attesterDid} =
await createFullDid(dappAccount)
const { assertionMethod: assertionMethodKey } =
generateAttesterKeypairs(attesterMnemonic)
generateAttesterKeypairs()

const domainLinkageCType = await getDomainLinkageCType()
const { domainLinkageCredential } = getDomainLinkageCredential({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export async function attestingFlow(
// ... send the request to the attester

// The attester checks the attributes and attests the provided credential.
await attestCredential(attesterAccount, attesterDid, credential, signCallback)
await attestCredential(attesterAccount, attesterDid, credential)

// Return the generated credential.
return credential
Expand Down

0 comments on commit a1c2a2a

Please sign in to comment.