Skip to content

Commit

Permalink
fix: do not filter out revoked credentials
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra committed Feb 16, 2022
1 parent 13ef3cd commit 79eb9be
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ export class PresentProofController {

const retrievedCredentials = await this.agent.proofs.getRequestedCredentialsForProofRequest(proofRecord.id, {
filterByPresentationPreview: true,
// Some tests include presenting a revoked credential, expecting the verification to fail
// So not excluding those from the retrieved credentials.
filterByNonRevocationRequirements: false,
})

this.logger.info('Created proof request', {
Expand Down

0 comments on commit 79eb9be

Please sign in to comment.