mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-16 13:06:40 +00:00
core/vm: remove todo (#33120)
Removes an unnecessary todo. This case is handled, the comment was an artifact from Kev's refactor
This commit is contained in:
parent
7f9b06e7aa
commit
982235f5e0
1 changed files with 0 additions and 1 deletions
|
|
@ -591,7 +591,6 @@ func (c *bigModExp) RequiredGas(input []byte) uint64 {
|
||||||
if expLen > 32 {
|
if expLen > 32 {
|
||||||
expHead.SetBytes(getData(input, baseLen, 32))
|
expHead.SetBytes(getData(input, baseLen, 32))
|
||||||
} else {
|
} else {
|
||||||
// TODO: Check that if expLen < baseLen, then getData will return an empty slice
|
|
||||||
expHead.SetBytes(getData(input, baseLen, expLen))
|
expHead.SetBytes(getData(input, baseLen, expLen))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue