mirror of https://github.com/gtank/ristretto255
Update ristretto255_test.go
Co-Authored-By: hdevalence <hdevalence@hdevalence.ca>
This commit is contained in:
parent
ef9acd2bbd
commit
5140be0fdf
|
@ -141,7 +141,7 @@ func TestRistrettoSmallMultiplesTestVectors(t *testing.T) {
|
||||||
decodedPoint := Element{}
|
decodedPoint := Element{}
|
||||||
err = decodedPoint.Decode(encoding)
|
err = decodedPoint.Decode(encoding)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Error("Could not decode test vector")
|
t.Fatalf("#%d: could not decode test vector: %v", i, err)
|
||||||
}
|
}
|
||||||
// Re-encode and check round trips
|
// Re-encode and check round trips
|
||||||
roundtripEncoding := decodedPoint.Encode(nil)
|
roundtripEncoding := decodedPoint.Encode(nil)
|
||||||
|
|
Loading…
Reference in New Issue