From 502122d1258906c8f71e68ffb3a914362cc67743 Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Thu, 5 Dec 2019 00:28:18 -0500 Subject: [PATCH] all: ensure compatibility with older Go versions --- go.mod | 2 +- internal/radix51/bench_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 3727dbb..30a573b 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/gtank/ristretto255 -go 1.12 +go 1.11 diff --git a/internal/radix51/bench_test.go b/internal/radix51/bench_test.go index 07722ad..f5c05fc 100644 --- a/internal/radix51/bench_test.go +++ b/internal/radix51/bench_test.go @@ -35,6 +35,6 @@ func BenchmarkMul32(b *testing.B) { x.One() b.ResetTimer() for i := 0; i < b.N; i++ { - x.Mul32(&x, 0b10101010_10101010_10101010_10101010) + x.Mul32(&x, 0xaa42aa42) } }