Skip to content

Commit

Permalink
Rename "ecrecover opcode" to "ecrecover precompile" in ECDSA (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaversaccio authored Jun 12, 2023
1 parent e73f90f commit 08fd777
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/utils/cryptography/ECDSA.sol
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ library ECDSA {
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature` or error string. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
Expand Down Expand Up @@ -74,7 +74,7 @@ library ECDSA {
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
Expand Down

0 comments on commit 08fd777

Please sign in to comment.