diff --git a/docs/units-and-global-variables.rst b/docs/units-and-global-variables.rst index d4e1caf33..777af87f0 100644 --- a/docs/units-and-global-variables.rst +++ b/docs/units-and-global-variables.rst @@ -186,15 +186,13 @@ Mathematical and Cryptographic Functions For further details, read `example usage `_. -.. note:: - - Since `EIP-2 `_, all transaction signatures with an ``s`` value - greater than ``secp256k1n/2`` are considered invalid. - .. warning:: If you use ``ecrecover``, be aware that a valid signature can be turned into a different valid signature without requiring - knowledge of the corresponding private key. This is usually not a problem unless you require signatures to be unique or + knowledge of the corresponding private key. Since `EIP-2 `_, all transaction signatures with an ``s`` value + greater than ``secp256k1n/2`` are considered invalid. + + This is usually not a problem unless you require signatures to be unique or use them to identify items. OpenZeppelin have a `ECDSA helper library `_ that you can use as a wrapper for ``ecrecover`` without this issue. .. note::