aboutsummaryrefslogtreecommitdiffstats
path: root/docs/common-patterns.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-08-01 23:23:06 +0800
committerGitHub <noreply@github.com>2018-08-01 23:23:06 +0800
commit1f832e068b2d2c79fff870742d867b655b62f691 (patch)
tree92ced4e8c40fe9aecdcb77363dcd34802113e47f /docs/common-patterns.rst
parentce99a5ce7f98b3dfb86ea8397a5117332af33f2a (diff)
parent0ad646635f6970de266138d4bdb3f1970406adfb (diff)
downloaddexon-solidity-1f832e068b2d2c79fff870742d867b655b62f691.tar
dexon-solidity-1f832e068b2d2c79fff870742d867b655b62f691.tar.gz
dexon-solidity-1f832e068b2d2c79fff870742d867b655b62f691.tar.bz2
dexon-solidity-1f832e068b2d2c79fff870742d867b655b62f691.tar.lz
dexon-solidity-1f832e068b2d2c79fff870742d867b655b62f691.tar.xz
dexon-solidity-1f832e068b2d2c79fff870742d867b655b62f691.tar.zst
dexon-solidity-1f832e068b2d2c79fff870742d867b655b62f691.zip
Merge pull request #4639 from ethereum/docs-fix-specify-limit
Small clarifications around the 2300 gas stipend from transfer and send
Diffstat (limited to 'docs/common-patterns.rst')
-rw-r--r--docs/common-patterns.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/common-patterns.rst b/docs/common-patterns.rst
index 7c38b0e7..bc8286b2 100644
--- a/docs/common-patterns.rst
+++ b/docs/common-patterns.rst
@@ -93,7 +93,7 @@ Notice that, in this example, an attacker could trap the
contract into an unusable state by causing ``richest`` to be
the address of a contract that has a fallback function
which fails (e.g. by using ``revert()`` or by just
-consuming more than the 2300 gas stipend). That way,
+consuming more than the 2300 gas stipend transferred to them). That way,
whenever ``transfer`` is called to deliver funds to the
"poisoned" contract, it will fail and thus also ``becomeRichest``
will fail, with the contract being stuck forever.