Merge pull request #165 from binance-chain/upgrade_revert_fork

revert bug fix in 1.9.17
This commit is contained in:
zjubfd 2021-04-29 10:52:27 +08:00 committed by GitHub
commit 2ac3f4ca85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 {