Update ristretto255_test.go

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

View File

@ -134,7 +134,7 @@ func TestRistrettoSmallMultiplesTestVectors(t *testing.T) {
// Grab the bytes of the encoding
encoding, err := hex.DecodeString(testVectors[i])
if err != nil {
t.Error("Bad hex encoding in test vector")
t.Fatalf("#%d: bad hex encoding in test vector: %v", i, err)
}
// Decode the test vector to a ristretto255 element