Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Angelo De Caro <[email protected]>
  • Loading branch information
adecaro authored and ale-linux committed Nov 5, 2021
1 parent c38bd09 commit fc2a3b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bccsp/schemes/dlog/crypto/idemix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func testIdemix(t *testing.T, curve *math.Curve, tr Translator) {
meta2.NymEID = meta2.NymEIDAuditData.Nym.Bytes()
err = sig.Ver(disclosure, key.Ipk, msg, attrs, rhindex, 2, &revocationKey.PublicKey, epoch, idmx.Curve, tr, opts.ExpectEidNym, meta2)
require.NoError(t, err)
meta2.NymEID = []byte{0,1,2}
meta2.NymEID = []byte{0, 1, 2}
err = sig.Ver(disclosure, key.Ipk, msg, attrs, rhindex, 2, &revocationKey.PublicKey, epoch, idmx.Curve, tr, opts.ExpectEidNym, meta2)
require.Equal(t, "signature invalid: nym eid validation failed, failed to unmarshal meta nym ied", err.Error())
meta2.NymEID = meta2.NymEIDAuditData.Nym.Mul(curve.NewZrFromInt(2)).Bytes()
Expand Down

0 comments on commit fc2a3b9

Please sign in to comment.