core/vm: make types consistent in makeDup (#32378)

This commit is contained in:
cui 2025-08-11 15:00:11 +08:00 committed by GitHub
parent 18b4ee5972
commit 40072af04a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}
}