Skip to content

Commit 6f79e56

Browse files
committed
fix lint
1 parent 89b17fb commit 6f79e56

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

sign/bls/bls_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ func randomSK(t *testing.T, rand *mrand.Rand) sign.PrivateKey {
129129
return sk
130130
}
131131

132+
/*
132133
// utility function to generate a non BLS private key
133134
func invalidSK(t *testing.T) sign.PrivateKey {
134135
seed := make([]byte, sign.KeyGenSeedMinLen)
@@ -138,7 +139,7 @@ func invalidSK(t *testing.T) sign.PrivateKey {
138139
sk, err := sign.GeneratePrivateKey(sign.ECDSAP256, seed)
139140
require.NoError(t, err)
140141
return sk
141-
}
142+
}*/
142143

143144
// BLS tests
144145
func TestBLSBLS12381Hasher(t *testing.T) {
@@ -280,6 +281,7 @@ func TestBLSEncodeDecode(t *testing.T) {
280281

281282
// TestBLSEquals tests equal for BLS keys
282283
func TestBLSEquals(t *testing.T) {
284+
// TODO: use a dummy algo instead of ECDSA
283285
signinternal.TestEquals(t, sign.BLSBLS12381, sign.ECDSAP256)
284286
}
285287

0 commit comments

Comments
 (0)