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