Skip to content

Commit 982235f

Browse files
core/vm: remove todo (#33120)
Removes an unnecessary todo. This case is handled, the comment was an artifact from Kev's refactor
1 parent 7f9b06e commit 982235f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/vm/contracts.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,6 @@ func (c *bigModExp) RequiredGas(input []byte) uint64 {
591591
if expLen > 32 {
592592
expHead.SetBytes(getData(input, baseLen, 32))
593593
} else {
594-
// TODO: Check that if expLen < baseLen, then getData will return an empty slice
595594
expHead.SetBytes(getData(input, baseLen, expLen))
596595
}
597596
}

0 commit comments

Comments
 (0)