crypto/bn256 - fix generator on G1 to match standard generator so that it doesn't conflict with standard libs

This commit is contained in:
mattdf 2017-11-30 23:21:15 +00:00
parent 73067fd24f
commit b2686ce907

View file

@ -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),
}