Copied warning message from cherry-picked commit

This commit is contained in:
Denton Liu 2016-06-01 13:59:16 -04:00
parent f03d315bad
commit 1f19b93836

View File

@ -124,9 +124,10 @@ Address Related
For more information, see the section on :ref:`address`. For more information, see the section on :ref:`address`.
.. warning:: .. warning::
Since it is possible for calls to ``send`` to fail, such as There are some dangers in using ``send``: The transfer fails if the call stack depth is at 1023
if there are insufficient funds, it is good practice to (this can always be forced by the caller) and it also fails if the recipient runs out of gas. So in order
check the return value whenever calling ``send``. to make safe Ether transfers, always check the return value of ``send`` or even better:
Use a pattern where the recipient withdraws the money.
.. index:: this, selfdestruct .. index:: this, selfdestruct