From 3fb0072105a1851832561b7e5f99a47c3332e4f8 Mon Sep 17 00:00:00 2001 From: Morgan Date: Fri, 21 Apr 2017 01:39:14 -0400 Subject: [PATCH 1/2] Added link to example for ecrecover This should be helpful for now until I can write up some documentation to include here --- docs/units-and-global-variables.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/units-and-global-variables.rst b/docs/units-and-global-variables.rst index 7a43343f9..50b9291e0 100644 --- a/docs/units-and-global-variables.rst +++ b/docs/units-and-global-variables.rst @@ -100,6 +100,7 @@ Mathematical and Cryptographic Functions compute RIPEMD-160 hash of the (tightly packed) arguments ``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 + [see here for example](https://ethereum.stackexchange.com/a/1794/7586) ``revert()``: abort execution and revert state changes From 1ac7056a1a8d782e90516596b212b06457ad8da1 Mon Sep 17 00:00:00 2001 From: chriseth Date: Fri, 21 Apr 2017 11:42:31 +0200 Subject: [PATCH 2/2] Correct syntax and link to question. --- docs/units-and-global-variables.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/units-and-global-variables.rst b/docs/units-and-global-variables.rst index 50b9291e0..ab957c7d5 100644 --- a/docs/units-and-global-variables.rst +++ b/docs/units-and-global-variables.rst @@ -100,7 +100,7 @@ Mathematical and Cryptographic Functions compute RIPEMD-160 hash of the (tightly packed) arguments ``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 - [see here for example](https://ethereum.stackexchange.com/a/1794/7586) + (`example usage `_) ``revert()``: abort execution and revert state changes