mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-04-12 20:58:33 +00:00
core/vm: make types consistent in makeDup (#32378)
This commit is contained in:
parent
18b4ee5972
commit
40072af04a
1 changed files with 2 additions and 2 deletions
|
|
@ -1003,9 +1003,9 @@ func makePush(size uint64, pushByteSize int) executionFunc {
|
|||
}
|
||||
|
||||
// make dup instruction function
|
||||
func makeDup(size int64) executionFunc {
|
||||
func makeDup(size int) executionFunc {
|
||||
return func(pc *uint64, evm *EVM, scope *ScopeContext) ([]byte, error) {
|
||||
scope.Stack.dup(int(size))
|
||||
scope.Stack.dup(size)
|
||||
return nil, nil
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue