diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-09-26 03:26:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-26 03:26:35 +0800 |
commit | 15dbb9cc4e7776f3f0dbf8027cae4bd221918085 (patch) | |
tree | f507702c8c17e78da81e7b22bcf9760dabb2048b /docs | |
parent | 2231df834d2da15e994a8119d10d483e6873b4ee (diff) | |
parent | 86e4276e24cb88ec32f4810a6cdf5eae3f1deef8 (diff) | |
download | dexon-solidity-15dbb9cc4e7776f3f0dbf8027cae4bd221918085.tar dexon-solidity-15dbb9cc4e7776f3f0dbf8027cae4bd221918085.tar.gz dexon-solidity-15dbb9cc4e7776f3f0dbf8027cae4bd221918085.tar.bz2 dexon-solidity-15dbb9cc4e7776f3f0dbf8027cae4bd221918085.tar.lz dexon-solidity-15dbb9cc4e7776f3f0dbf8027cae4bd221918085.tar.xz dexon-solidity-15dbb9cc4e7776f3f0dbf8027cae4bd221918085.tar.zst dexon-solidity-15dbb9cc4e7776f3f0dbf8027cae4bd221918085.zip |
Merge pull request #5083 from ethereum/updatePatterns
[DOCS] Update common patterns.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/common-patterns.rst | 4 |
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/>`_. |