diff options
author | Denton Liu <liu.denton+github@gmail.com> | 2016-07-10 07:01:27 +0800 |
---|---|---|
committer | Denton Liu <liu.denton+github@gmail.com> | 2016-08-10 22:40:55 +0800 |
commit | 82365f21c0421bd20d60a1e544dd798ce4315b2f (patch) | |
tree | 0c7c0c1ee947bb41c6ed326c24ef0abdfd3216f4 /docs | |
parent | efb48659dd61595e0841419543d919ca21d7854a (diff) | |
download | dexon-solidity-82365f21c0421bd20d60a1e544dd798ce4315b2f.tar.gz dexon-solidity-82365f21c0421bd20d60a1e544dd798ce4315b2f.tar.zst dexon-solidity-82365f21c0421bd20d60a1e544dd798ce4315b2f.zip |
Link to withdraw pattern
Diffstat (limited to 'docs')
-rw-r--r-- | docs/common-patterns.rst | 2 | ||||
-rw-r--r-- | docs/security-considerations.rst | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/common-patterns.rst b/docs/common-patterns.rst index 1a9083d9..0de692fc 100644 --- a/docs/common-patterns.rst +++ b/docs/common-patterns.rst @@ -4,6 +4,8 @@ Common Patterns .. index:: withdrawal +.. _withdrawal_pattern: + ************************* Withdrawal from Contracts ************************* diff --git a/docs/security-considerations.rst b/docs/security-considerations.rst index c5d20649..eff3c5e8 100644 --- a/docs/security-considerations.rst +++ b/docs/security-considerations.rst @@ -126,7 +126,7 @@ Sending and Receiving Ether 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 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 =============== |