From 82365f21c0421bd20d60a1e544dd798ce4315b2f Mon Sep 17 00:00:00 2001 From: Denton Liu Date: Sat, 9 Jul 2016 19:01:27 -0400 Subject: [PATCH] Link to withdraw pattern --- docs/common-patterns.rst | 2 ++ docs/security-considerations.rst | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/common-patterns.rst b/docs/common-patterns.rst index 1a9083d9a..0de692fc6 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 c5d206492..eff3c5e8e 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 `. Callstack Depth ===============