Skip to content

Commit

Permalink
fix: verifier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Codetrauma committed Nov 8, 2024
1 parent ade69d2 commit a30f689
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ app.post('/verify-attestation', async (req, res) => {
try {
const notaryUrl = convertNotaryWsToHttp(attestation.meta.notaryUrl);
const notaryPem = await fetchPublicKeyFromNotary(notaryUrl);
const presentation = verify(attestation.data, notaryPem);
console.log(notaryPem)
const presentation = await verify(attestation.data, notaryPem);

const presentationObj = {
sent: presentation.sent,
Expand Down

0 comments on commit a30f689

Please sign in to comment.