From 3dbb8ad92a8d8a574226432f222983e990579de7 Mon Sep 17 00:00:00 2001 From: MrChico Date: Wed, 2 Mar 2016 14:57:09 +0100 Subject: ecrecover takes uint8, not byte --- 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 f645be8c..efaa6402 100644 --- a/docs/units-and-global-variables.rst +++ b/docs/units-and-global-variables.rst @@ -94,7 +94,7 @@ Mathematical and Cryptographic Functions compute the SHA-256 hash of the (tightly packed) arguments `ripemd160(...) returns (bytes20)`: compute RIPEMD-160 hash of the (tightly packed) arguments -`ecrecover(bytes32, byte, bytes32, bytes32) returns (address)`: +`ecrecover(bytes32, uint8, bytes32, bytes32) returns (address)`: recover public key from elliptic curve signature - arguments are (data, v, r, s) In the above, "tightly packed" means that the arguments are concatenated without padding. -- cgit