aboutsummaryrefslogtreecommitdiffstats
path: root/docs/units-and-global-variables.rst
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-06-02 21:14:53 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-06-02 21:14:53 +0800
commitfc121b9ba7665f4b0470b3f347a0cac51ac311e0 (patch)
treeeb8f69d750983ba41910f83f5523abe9023c3888 /docs/units-and-global-variables.rst
parent0b4b5e10461d6dfefb8aea7eea107400e3de2c31 (diff)
downloaddexon-solidity-fc121b9ba7665f4b0470b3f347a0cac51ac311e0.tar.gz
dexon-solidity-fc121b9ba7665f4b0470b3f347a0cac51ac311e0.tar.zst
dexon-solidity-fc121b9ba7665f4b0470b3f347a0cac51ac311e0.zip
Documented max stack depth at 1024
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 02cd134e..3a12c630 100644
--- a/docs/units-and-global-variables.rst
+++ b/docs/units-and-global-variables.rst
@@ -122,7 +122,7 @@ Address Related
send given amount of Wei to :ref:`address`, returns ``false`` on failure
.. warning::
- There are some dangers in using ``send``: The transfer fails if the call stack depth is at 1023
+ There are some dangers in using ``send``: The transfer fails if the call stack depth is at 1024
(this can always be forced by the caller) and it also fails if the recipient runs out of gas. So in order
to make safe Ether transfers, always check the return value of ``send`` or even better:
Use a pattern where the recipient withdraws the money.