Merge pull request #2151 from morgansliman/patch-2

Added link to example for ecrecover
This commit is contained in:
chriseth 2017-04-21 12:02:27 +02:00 committed by GitHub
commit e3eea9fc2e

View File

@ -100,6 +100,7 @@ Mathematical and Cryptographic Functions
compute RIPEMD-160 hash of the (tightly packed) arguments compute RIPEMD-160 hash of the (tightly packed) arguments
``ecrecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) returns (address)``: ``ecrecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) returns (address)``:
recover the address associated with the public key from elliptic curve signature or return zero on error recover the address associated with the public key from elliptic curve signature or return zero on error
(`example usage <https://ethereum.stackexchange.com/q/1777/222>`_)
``revert()``: ``revert()``:
abort execution and revert state changes abort execution and revert state changes