Skip to content

Commit

Permalink
fix: Remove workaround for verifier missing with ed25519 key
Browse files Browse the repository at this point in the history
  • Loading branch information
nklomp committed Jan 20, 2023
1 parent 5f183ce commit 2e97af6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ export class CredentialHandlerLDLocal implements IAgentPlugin {
}
// Workaround for bug in TypeError: Cannot read property 'length' of undefined
// at VeramoEd25519Signature2018.preSigningPresModification
if (!presentation.verifier) {
/*if (!presentation.verifier) {
presentation.verifier = []
}
}*/

if (!isDefined(presentation.holder) || !presentation.holder) {
throw new Error('invalid_argument: args.presentation.holder must not be empty')
Expand Down

0 comments on commit 2e97af6

Please sign in to comment.