aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-09-26 01:08:04 +0800
committerchriseth <chris@ethereum.org>2018-09-26 01:08:16 +0800
commit86e4276e24cb88ec32f4810a6cdf5eae3f1deef8 (patch)
tree2370f3ee654aa11a809a552e9b614cacbb38794e /docs
parent1b8334e58bd75dae3cc113431e36f9af972f3b1d (diff)
downloaddexon-solidity-86e4276e24cb88ec32f4810a6cdf5eae3f1deef8.tar.gz
dexon-solidity-86e4276e24cb88ec32f4810a6cdf5eae3f1deef8.tar.zst
dexon-solidity-86e4276e24cb88ec32f4810a6cdf5eae3f1deef8.zip
[DOCS] Update common patterns.
Diffstat (limited to 'docs')
-rw-r--r--docs/common-patterns.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/common-patterns.rst b/docs/common-patterns.rst
index d26e4377..bf3f67f5 100644
--- a/docs/common-patterns.rst
+++ b/docs/common-patterns.rst
@@ -13,11 +13,11 @@ Withdrawal from Contracts
The recommended method of sending funds after an effect
is using the withdrawal pattern. Although the most intuitive
method of sending Ether, as a result of an effect, is a
-direct ``send`` call, this is not recommended as it
+direct ``transfer`` call, this is not recommended as it
introduces a potential security risk. You may read
more about this on the :ref:`security_considerations` page.
-This is an example of the withdrawal pattern in practice in
+The following is an example of the withdrawal pattern in practice in
a contract where the goal is to send the most money to the
contract in order to become the "richest", inspired by
`King of the Ether <https://www.kingoftheether.com/>`_.