Skip to content

Commit 40072af

Browse files
authored
core/vm: make types consistent in makeDup (#32378)
1 parent 18b4ee5 commit 40072af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/vm/instructions.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,9 +1003,9 @@ func makePush(size uint64, pushByteSize int) executionFunc {
10031003
}
10041004

10051005
// make dup instruction function
1006-
func makeDup(size int64) executionFunc {
1006+
func makeDup(size int) executionFunc {
10071007
return func(pc *uint64, evm *EVM, scope *ScopeContext) ([]byte, error) {
1008-
scope.Stack.dup(int(size))
1008+
scope.Stack.dup(size)
10091009
return nil, nil
10101010
}
10111011
}

0 commit comments

Comments
 (0)