Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
CL Anoncreds Crypto API
Browse files Browse the repository at this point in the history
* fixed prover test

Signed-off-by: konstantin.goncharov <konstantin.goncharov@avast.com>
  • Loading branch information
konstantin.goncharov committed Jul 14, 2022
1 parent 14e4134 commit a24ef7e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ func TestCLMasterSecretKeyTemplateSuccess(t *testing.T) {
require.NotEmpty(t, proof)
require.NotEmpty(t, proof.Proof)

err = clsubtle.Verify(t, presReq, proof, credDef)
verifier := clsubtle.NewTestCLVerifier(t)
err = verifier.VerifyProof(proof, presReq, []*clapi.CredentialDefinition{credDef})
require.NoError(t, err)
}

0 comments on commit a24ef7e

Please sign in to comment.