Skip to content

Commit f262c1a

Browse files
authored
Merge pull request #13419 from rafales/patch-docs-ecrecover
Update misleading information about OpenZeppelin's ECDSA library
2 parents 05217fa + a4ed92b commit f262c1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/units-and-global-variables.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ Mathematical and Cryptographic Functions
231231
for _transaction_ signatures (see `EIP-2 <https://eips.ethereum.org/EIPS/eip-2#specification>`_), but
232232
the ecrecover function remained unchanged.
233233

234-
This is usually not a problem unless you require signatures to be unique or
235-
use them to identify items. OpenZeppelin have a `ECDSA helper library <https://docs.openzeppelin.com/contracts/2.x/api/cryptography#ECDSA>`_ that you can use as a wrapper for ``ecrecover`` without this issue.
234+
This is usually not a problem unless you require signatures to be unique or use them to identify items.
235+
OpenZeppelin have a `ECDSA helper library <https://docs.openzeppelin.com/contracts/4.x/api/utils#ECDSA>`_ that you can use as a wrapper for ``ecrecover`` without this issue.
236236

237237
.. note::
238238

0 commit comments

Comments
 (0)