mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Link to withdraw pattern
This commit is contained in:
parent
efb48659dd
commit
82365f21c0
@ -4,6 +4,8 @@ Common Patterns
|
|||||||
|
|
||||||
.. index:: withdrawal
|
.. index:: withdrawal
|
||||||
|
|
||||||
|
.. _withdrawal_pattern:
|
||||||
|
|
||||||
*************************
|
*************************
|
||||||
Withdrawal from Contracts
|
Withdrawal from Contracts
|
||||||
*************************
|
*************************
|
||||||
|
@ -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
|
||||||
===============
|
===============
|
||||||
|
Loading…
Reference in New Issue
Block a user