aboutsummaryrefslogtreecommitdiffstats
path: root/docs/security-considerations.rst
diff options
context:
space:
mode:
authorChris Ward <chriswhward@gmail.com>2018-08-01 19:32:26 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-08-01 23:21:29 +0800
commit0ad646635f6970de266138d4bdb3f1970406adfb (patch)
tree1cd48887a4df12c12a6357b34db71b73bf3beaa2 /docs/security-considerations.rst
parent9d0e927f85eb5621bb464ced1a54b6624465779e (diff)
downloaddexon-solidity-0ad646635f6970de266138d4bdb3f1970406adfb.tar.gz
dexon-solidity-0ad646635f6970de266138d4bdb3f1970406adfb.tar.zst
dexon-solidity-0ad646635f6970de266138d4bdb3f1970406adfb.zip
Small clarifications around the 2300 gas stipend from transfer and send
Diffstat (limited to 'docs/security-considerations.rst')
-rw-r--r--docs/security-considerations.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/security-considerations.rst b/docs/security-considerations.rst
index b997466b..5bb3d81d 100644
--- a/docs/security-considerations.rst
+++ b/docs/security-considerations.rst
@@ -135,7 +135,7 @@ Sending and Receiving Ether
- If a contract receives Ether (without a function being called), the fallback function is executed.
If it does not have a fallback function, the Ether will be rejected (by throwing an exception).
During the execution of the fallback function, the contract can only rely
- on the "gas stipend" (2300 gas) being available to it at that time. This stipend is not enough to access storage in any way.
+ on the "gas stipend" it is passed (2300 gas) being available to it at that time. This stipend is not enough to access storage in any way.
To be sure that your contract can receive Ether in that way, check the gas requirements of the fallback function
(for example in the "details" section in Remix).