aboutsummaryrefslogtreecommitdiffstats
path: root/docs/units-and-global-variables.rst
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-08-12 21:54:17 +0800
committerchriseth <c@ethdev.com>2016-08-16 20:53:01 +0800
commitd731225d02c9b8d6dc9f2ba632923b765d0e111d (patch)
treec91454591ceb4a1329adafb1dc66d2500fe9f3c1 /docs/units-and-global-variables.rst
parent034d436933806c204b84b0500e2116938cb6a030 (diff)
downloaddexon-solidity-d731225d02c9b8d6dc9f2ba632923b765d0e111d.tar
dexon-solidity-d731225d02c9b8d6dc9f2ba632923b765d0e111d.tar.gz
dexon-solidity-d731225d02c9b8d6dc9f2ba632923b765d0e111d.tar.bz2
dexon-solidity-d731225d02c9b8d6dc9f2ba632923b765d0e111d.tar.lz
dexon-solidity-d731225d02c9b8d6dc9f2ba632923b765d0e111d.tar.xz
dexon-solidity-d731225d02c9b8d6dc9f2ba632923b765d0e111d.tar.zst
dexon-solidity-d731225d02c9b8d6dc9f2ba632923b765d0e111d.zip
Actually better to return zero on error.
Diffstat (limited to 'docs/units-and-global-variables.rst')
-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 62b9158d..d1d578ed 100644
--- a/docs/units-and-global-variables.rst
+++ b/docs/units-and-global-variables.rst
@@ -95,7 +95,7 @@ Mathematical and Cryptographic Functions
``ripemd160(...) returns (bytes20)``:
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
+ recover the address associated with the public key from elliptic curve signature or return zero on error
In the above, "tightly packed" means that the arguments are concatenated without padding.
This means that the following are all identical::