Skip to content

Commit

Permalink
Revert "fix: skip a patch that could fork the chain (#1902)" (#1913)
Browse files Browse the repository at this point in the history
This reverts commit 0d47213.
  • Loading branch information
brilliant-lx authored Oct 11, 2023
1 parent 17ffdf1 commit 43e2c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/vm/contracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ func (c *dataCopy) RequiredGas(input []byte) uint64 {
}

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.
Expand Down

0 comments on commit 43e2c77

Please sign in to comment.