aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMrChico <martin.lundfall@gmail.com>2016-03-02 21:57:09 +0800
committerMrChico <martin.lundfall@gmail.com>2016-03-02 21:57:09 +0800
commit3dbb8ad92a8d8a574226432f222983e990579de7 (patch)
tree1205e436dccfe459d8586906fc4ff4b1c55748e5 /docs
parent02bb315d9412b3c67fe6f24a072701439d4ddbec (diff)
downloaddexon-solidity-3dbb8ad92a8d8a574226432f222983e990579de7.tar
dexon-solidity-3dbb8ad92a8d8a574226432f222983e990579de7.tar.gz
dexon-solidity-3dbb8ad92a8d8a574226432f222983e990579de7.tar.bz2
dexon-solidity-3dbb8ad92a8d8a574226432f222983e990579de7.tar.lz
dexon-solidity-3dbb8ad92a8d8a574226432f222983e990579de7.tar.xz
dexon-solidity-3dbb8ad92a8d8a574226432f222983e990579de7.tar.zst
dexon-solidity-3dbb8ad92a8d8a574226432f222983e990579de7.zip
ecrecover takes uint8, not byte
Diffstat (limited to 'docs')
-rw-r--r--docs/units-and-global-variables.rst2
1 files changed, 1 insertions, 1 deletions
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.