mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 09:23:48 +00:00
crypto/bn256 - fix generator on G1 to match standard generator so that it doesn't conflict with standard libs
This commit is contained in:
parent
73067fd24f
commit
b2686ce907
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ var curveB = new(big.Int).SetInt64(3)
|
||||||
// curveGen is the generator of G₁.
|
// curveGen is the generator of G₁.
|
||||||
var curveGen = &curvePoint{
|
var curveGen = &curvePoint{
|
||||||
new(big.Int).SetInt64(1),
|
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),
|
||||||
new(big.Int).SetInt64(1),
|
new(big.Int).SetInt64(1),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue