mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
remove syntax reversion
This commit is contained in:
parent
e7d7126433
commit
1ff583fee6
1 changed files with 1 additions and 1 deletions
|
|
@ -482,7 +482,7 @@ func (c *bigModExp) Run(input []byte) ([]byte, error) {
|
|||
return []byte{}, nil
|
||||
}
|
||||
// enforce size cap for inputs
|
||||
if c.eip7823 && max(max(baseLen, expLen), max(baseLen, modLen)) > 1024 {
|
||||
if c.eip7823 && max(baseLen, expLen, modLen) > 1024 {
|
||||
return nil, fmt.Errorf("one or more of base/exponent/modulus length exceeded 1024 bytes")
|
||||
}
|
||||
// Retrieve the operands and execute the exponentiation
|
||||
|
|
|
|||
Loading…
Reference in a new issue