Ver código fonte

Update links to the eth_sign JSON-RPC method in MessageHashUtils (#5407)

Emre Tepe 9 meses atrás
pai
commit
dd04dfe75d
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      contracts/utils/cryptography/MessageHashUtils.sol

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

@@ -19,7 +19,7 @@ library MessageHashUtils {
      *
      * The digest is calculated by prefixing a bytes32 `messageHash` with
      * `"\x19Ethereum Signed Message:\n32"` and hashing the result. It corresponds with the
-     * hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.
+     * hash signed when using the https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign[`eth_sign`] JSON-RPC method.
      *
      * NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with
      * keccak256, although any bytes32 value can be safely used because the final digest will
@@ -41,7 +41,7 @@ library MessageHashUtils {
      *
      * The digest is calculated by prefixing an arbitrary `message` with
      * `"\x19Ethereum Signed Message:\n" + len(message)` and hashing the result. It corresponds with the
-     * hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.
+     * hash signed when using the https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign[`eth_sign`] JSON-RPC method.
      *
      * See {ECDSA-recover}.
      */