浏览代码

revert bug fix in 1.9.17

yutianwu 4 年之前
父节点
当前提交
148c9ff439
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/vm/interpreter.go

+ 1 - 1
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 {