core/vm: fix nit

This commit is contained in:
Péter Szilágyi 2024-04-16 15:56:45 +03:00 committed by GitHub
parent 7e2b22ec98
commit ab95fd2354
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -892,7 +892,7 @@ func makePush(size uint64, pushByteSize int) executionFunc {
var (
codeLen = len(scope.Contract.Code)
start = min(codeLen, int(*pc+1))
end = min(start+pushByteSize, codeLen)
end = min(codeLen, start+pushByteSize)
)
scope.Stack.push(new(uint256.Int).SetBytes(
common.RightPadBytes(