Update ristretto255_test.go

Co-Authored-By: hdevalence <hdevalence@hdevalence.ca>
This commit is contained in:
Filippo Valsorda 2019-04-19 13:20:00 -07:00 committed by Henry de Valence
parent fe9b4d0a2a
commit 72e5a6cd76
1 changed files with 1 additions and 1 deletions

View File

@ -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 {