Link to withdraw pattern

This commit is contained in:
Denton Liu 2016-07-09 19:01:27 -04:00
parent efb48659dd
commit 82365f21c0
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,8 @@ Common Patterns
.. index:: withdrawal .. index:: withdrawal
.. _withdrawal_pattern:
************************* *************************
Withdrawal from Contracts Withdrawal from Contracts
************************* *************************

View File

@ -126,7 +126,7 @@ Sending and Receiving Ether
because the operation is just too expensive) - it "runs out of gas" (OOG). because the operation is just too expensive) - it "runs out of gas" (OOG).
If the return value of ``send`` is checked, this might provide a If the return value of ``send`` is checked, this might provide a
means for the recipient to block progress in the sending contract. Again, the best practice here is to use means for the recipient to block progress in the sending contract. Again, the best practice here is to use
a "withdraw" pattern instead of a "send" pattern. a :ref:`"withdraw" pattern instead of a "send" pattern <withdrawal_pattern>`.
Callstack Depth Callstack Depth
=============== ===============