Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
decentralgabe committed Apr 17, 2023
1 parent 036678a commit 92684a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion credential/exchange/verification.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ import (
// the DID and keys of the signer for each credential in the presentation, whose signatures also need to be verified.
// Note: this method does not support LD cryptosuites, and prefers JWT representations. Future refactors
// may include an analog method for LD suites.
func VerifyPresentationSubmission(ctx context.Context, verifier any, resolver did.Resolver, et EmbedTarget, def PresentationDefinition, submission []byte) error {
// TODO(gabe) remove embed target, have it detected from the submission
func VerifyPresentationSubmission(ctx context.Context, verifier any, resolver did.Resolver, et EmbedTarget, def PresentationDefinition, submission []byte) error { //revive:disable-line
if resolver == nil {
return errors.New("resolver cannot be empty")
}
Expand Down

0 comments on commit 92684a2

Please sign in to comment.