Skip to content

Commit dd04dfe

Browse files
authored
Update links to the eth_sign JSON-RPC method in MessageHashUtils (#5407)
1 parent c3b3ae7 commit dd04dfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/utils/cryptography/MessageHashUtils.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ library MessageHashUtils {
1919
*
2020
* The digest is calculated by prefixing a bytes32 `messageHash` with
2121
* `"\x19Ethereum Signed Message:\n32"` and hashing the result. It corresponds with the
22-
* hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.
22+
* hash signed when using the https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign[`eth_sign`] JSON-RPC method.
2323
*
2424
* NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with
2525
* keccak256, although any bytes32 value can be safely used because the final digest will
@@ -41,7 +41,7 @@ library MessageHashUtils {
4141
*
4242
* The digest is calculated by prefixing an arbitrary `message` with
4343
* `"\x19Ethereum Signed Message:\n" + len(message)` and hashing the result. It corresponds with the
44-
* hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.
44+
* hash signed when using the https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign[`eth_sign`] JSON-RPC method.
4545
*
4646
* See {ECDSA-recover}.
4747
*/

0 commit comments

Comments
 (0)