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 1a03647 commit 500a374
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/PEX.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,10 +531,8 @@ export class PEX {

let presentation = presentationResult.presentation;

if (CredentialMapper.isSdJwtDecodedCredential(presentationResult.presentation as SdJwtDecodedVerifiableCredential)) {
// Select type without kbJwt as isSdJwtDecodedCredential won't need it
if (CredentialMapper.isSdJwtDecodedCredential(presentationResult.presentation as SdJwtDecodedVerifiableCredential)) { // Select type without kbJwt as isSdJwtDecodedCredential and won't accept the partial sdvc type
const sdJwtPresentation = presentation as SdJwtDecodedVerifiableCredential;
// FIXME? SdJwtDecodedVerifiableCredential is local type and is not supported in ssi-sdk
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 500a374

Please sign in to comment.