diff --git a/ristretto255_test.go b/ristretto255_test.go index b199c4b..74a9dc6 100644 --- a/ristretto255_test.go +++ b/ristretto255_test.go @@ -130,7 +130,7 @@ func TestRistrettoSmallMultiplesTestVectors(t *testing.T) { basepointMultiple := Element{} basepointMultiple.Zero() - for i := 0; i < 16; i++ { + for i := range testVectors { // Grab the bytes of the encoding encoding, err := hex.DecodeString(testVectors[i]) if err != nil {