Преглед на файлове

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 {