Skip to content

Commit

Permalink
Corrected Verification bit
Browse files Browse the repository at this point in the history
Signed-off-by: Yogesh Deshpande <[email protected]>
  • Loading branch information
yogeshbdeshpande committed May 9, 2023
1 parent 8a25d6b commit cfef03c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions verification/challengeresponse.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ func wrapEvInCMW(evidence []byte, mt string) ([]byte, string, error) {
c.SetMediaType(mt)
c.SetValue(evidence)
c.SetIndicators(cmw.Evidence)
cmw, err := c.Serialize(cmw.CBORArray)
cm, err := c.Serialize(cmw.CBORArray)
if err != nil {
return nil, "", fmt.Errorf("cmw serialization failed: %w", err)
}
return cmw, cmwMediaType, nil
return cm, cmwMediaType, nil
}

// NewSession runs the first part of the interaction which deals with session
Expand Down

0 comments on commit cfef03c

Please sign in to comment.