aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/common-patterns.rst2
-rw-r--r--docs/security-considerations.rst2
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
===============