mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
chore: fix incorrect error message in fuzzCrossG2Add function
This commit is contained in:
parent
fc12dbe40b
commit
81d3052a46
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ func fuzzCrossG1Add(data []byte) int {
|
||||||
|
|
||||||
bl3 := blst.P1AffinesAdd([]*blst.P1Affine{bl1, bl2})
|
bl3 := blst.P1AffinesAdd([]*blst.P1Affine{bl1, bl2})
|
||||||
if !(bytes.Equal(cp.Marshal(), bl3.Serialize())) {
|
if !(bytes.Equal(cp.Marshal(), bl3.Serialize())) {
|
||||||
panic("G1 point addition mismatch blst / geth ")
|
panic("G2 point addition mismatch blst / geth ")
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1
|
return 1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue