From 12004d7656eb93a40dcb4c756fceb731017680fe Mon Sep 17 00:00:00 2001 From: Sergio Mena Date: Wed, 17 Jul 2024 18:22:55 +0200 Subject: [PATCH] small improvement --- curves/bls12381/signature_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curves/bls12381/signature_test.go b/curves/bls12381/signature_test.go index 010ceee..051cedb 100644 --- a/curves/bls12381/signature_test.go +++ b/curves/bls12381/signature_test.go @@ -31,7 +31,7 @@ func TestSignVerifyRecreatedKey(t *testing.T) { priv2, err := GenPrivKeyFromSeed(seed) require.NoError(t, err) pub2 := priv2.PublicKey() - assert.Equal(t, true, sig.Verify(pub2, msg), "Signature did not verify") + assert.True(t, sig.Verify(pub2, msg), "Signature did not verify") } func TestVerifySingleSignature_InvalidSignature(t *testing.T) {