Skip to content

Commit

Permalink
chore: comment update
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderPostma committed Sep 18, 2024
1 parent 500a374 commit 66db088
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/PEX.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,8 @@ export class PEX {

let presentation = presentationResult.presentation;

if (CredentialMapper.isSdJwtDecodedCredential(presentationResult.presentation as SdJwtDecodedVerifiableCredential)) { // Select type without kbJwt as isSdJwtDecodedCredential and won't accept the partial sdvc type
// Select type without kbJwt as isSdJwtDecodedCredential and won't accept the partial sdvc type
if (CredentialMapper.isSdJwtDecodedCredential(presentationResult.presentation as SdJwtDecodedVerifiableCredential)) {
const sdJwtPresentation = presentation as SdJwtDecodedVerifiableCredential;
if (!this.options?.hasher) {
throw new Error('Hasher must be provided when creating a presentation with an SD-JWT VC');
Expand Down

0 comments on commit 66db088

Please sign in to comment.