mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update misleading information about OpenZeppelin's ECDSA library
This commit is contained in:
parent
f01a09f843
commit
a4ed92b546
@ -231,8 +231,8 @@ Mathematical and Cryptographic Functions
|
|||||||
for _transaction_ signatures (see `EIP-2 <https://eips.ethereum.org/EIPS/eip-2#specification>`_), but
|
for _transaction_ signatures (see `EIP-2 <https://eips.ethereum.org/EIPS/eip-2#specification>`_), but
|
||||||
the ecrecover function remained unchanged.
|
the ecrecover function remained unchanged.
|
||||||
|
|
||||||
This is usually not a problem unless you require signatures to be unique or
|
This is usually not a problem unless you require signatures to be unique or use them to identify items.
|
||||||
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.
|
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.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user