瀏覽代碼

Rename "`ecrecover` opcode" to "`ecrecover` precompile" in `ECDSA` (#4339)

Pascal Marco Caversaccio 2 年之前
父節點
當前提交
08fd777f6d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      contracts/utils/cryptography/ECDSA.sol

+ 2 - 2
contracts/utils/cryptography/ECDSA.sol

@@ -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.
      *
@@ -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.
      *