From 148c9ff439738b4be3e750ba67b24d07cd34c627 Mon Sep 17 00:00:00 2001 From: yutianwu Date: Fri, 23 Apr 2021 18:31:39 +0800 Subject: [PATCH] revert bug fix in 1.9.17 --- core/vm/interpreter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/vm/interpreter.go b/core/vm/interpreter.go index 9c7e3ca3e..bf6df27d1 100644 --- a/core/vm/interpreter.go +++ b/core/vm/interpreter.go @@ -285,7 +285,7 @@ func (in *EVMInterpreter) Run(contract *Contract, input []byte, readOnly bool) ( // if the operation clears the return data (e.g. it has returning data) // set the last return to the result of the operation. if operation.returns { - in.returnData = common.CopyBytes(res) + in.returnData = res } switch {