From 72e5a6cd76b441b288df94e007a14183b3e751ea Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Fri, 19 Apr 2019 13:20:00 -0700 Subject: [PATCH] Update ristretto255_test.go Co-Authored-By: hdevalence --- ristretto255_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {