diff --git a/crypto/bn256/curve.go b/crypto/bn256/curve.go
index 233b1f2521282485b436aa2d3de9c01ede85ac68..3e679fdc7e8f84abe7dc9840f31081a9eab42437 100644
--- a/crypto/bn256/curve.go
+++ b/crypto/bn256/curve.go
@@ -20,7 +20,7 @@ var curveB = new(big.Int).SetInt64(3)
 // curveGen is the generator of G₁.
 var curveGen = &curvePoint{
 	new(big.Int).SetInt64(1),
-	new(big.Int).SetInt64(-2),
+	new(big.Int).SetInt64(2),
 	new(big.Int).SetInt64(1),
 	new(big.Int).SetInt64(1),
 }