aboutsummaryrefslogtreecommitdiffstats
path: root/docs/common-patterns.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-09-26 03:26:35 +0800
committerGitHub <noreply@github.com>2018-09-26 03:26:35 +0800
commit15dbb9cc4e7776f3f0dbf8027cae4bd221918085 (patch)
treef507702c8c17e78da81e7b22bcf9760dabb2048b /docs/common-patterns.rst
parent2231df834d2da15e994a8119d10d483e6873b4ee (diff)
parent86e4276e24cb88ec32f4810a6cdf5eae3f1deef8 (diff)
downloaddexon-solidity-15dbb9cc4e7776f3f0dbf8027cae4bd221918085.tar.gz
dexon-solidity-15dbb9cc4e7776f3f0dbf8027cae4bd221918085.tar.zst
dexon-solidity-15dbb9cc4e7776f3f0dbf8027cae4bd221918085.zip
Merge pull request #5083 from ethereum/updatePatterns
[DOCS] Update common patterns.
Diffstat (limited to 'docs/common-patterns.rst')
-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 56536dcc..84c18936 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/>`_.