core/vm: remove todo (#33120)
Some checks are pending
/ Linux Build (push) Waiting to run
/ Linux Build (arm) (push) Waiting to run
/ Keeper Build (push) Waiting to run
/ Windows Build (push) Waiting to run
/ Docker Image (push) Waiting to run

Removes an unnecessary todo. This case is handled, the comment was an
artifact from Kev's refactor
This commit is contained in:
Marius van der Wijden 2025-11-07 14:55:58 +01:00 committed by GitHub
parent 7f9b06e7aa
commit 982235f5e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -591,7 +591,6 @@ func (c *bigModExp) RequiredGas(input []byte) uint64 {
if expLen > 32 {
expHead.SetBytes(getData(input, baseLen, 32))
} else {
// TODO: Check that if expLen < baseLen, then getData will return an empty slice
expHead.SetBytes(getData(input, baseLen, expLen))
}
}