diff --git a/core/vm/instructions.go b/core/vm/instructions.go index 44d3e81a9c..9ba7b139a5 100644 --- a/core/vm/instructions.go +++ b/core/vm/instructions.go @@ -275,7 +275,7 @@ func opCallDataLoad(pc *uint64, evm *EVM, scope *ScopeContext) ([]byte, error) { x := scope.Stack.peek() if offset, overflow := x.Uint64WithOverflow(); !overflow { data := getData(scope.Contract.Input, offset, 32) - x.SetBytes(data) + x.SetBytes32(data) } else { x.Clear() }