mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
cherry-pick from d8ada03eac (#255)
This commit is contained in:
parent
2f10aac60f
commit
3e0505a0c7
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ func (c *dataCopy) RequiredGas(input []byte) uint64 {
|
|||
return uint64(len(input)+31)/32*params.IdentityPerWordGas + params.IdentityBaseGas
|
||||
}
|
||||
func (c *dataCopy) Run(in []byte) ([]byte, error) {
|
||||
return in, nil
|
||||
return common.CopyBytes(in), nil
|
||||
}
|
||||
|
||||
// bigModExp implements a native big integer exponential modular operation.
|
||||
|
|
|
|||
Loading…
Reference in a new issue