Browse Source

revert bug fix in 1.9.17

yutianwu 4 years ago
parent
commit
148c9ff439
1 changed files with 1 additions and 1 deletions
  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 {