mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
core/vm: fix nit
This commit is contained in:
parent
7e2b22ec98
commit
ab95fd2354
1 changed files with 1 additions and 1 deletions
|
|
@ -892,7 +892,7 @@ func makePush(size uint64, pushByteSize int) executionFunc {
|
||||||
var (
|
var (
|
||||||
codeLen = len(scope.Contract.Code)
|
codeLen = len(scope.Contract.Code)
|
||||||
start = min(codeLen, int(*pc+1))
|
start = min(codeLen, int(*pc+1))
|
||||||
end = min(start+pushByteSize, codeLen)
|
end = min(codeLen, start+pushByteSize)
|
||||||
)
|
)
|
||||||
scope.Stack.push(new(uint256.Int).SetBytes(
|
scope.Stack.push(new(uint256.Int).SetBytes(
|
||||||
common.RightPadBytes(
|
common.RightPadBytes(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue