diff options
author | Dave Hoover <dave.hoover@gmail.com> | 2017-10-04 20:35:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-04 20:35:05 +0800 |
commit | 6de9fc710e6941574b7488af22c8d756590e3f07 (patch) | |
tree | cf22ae31c0766f8cec3e465535477669f8d51b01 /docs | |
parent | 30908415bfdb463adafc4aabab48cbe56d105012 (diff) | |
download | dexon-solidity-6de9fc710e6941574b7488af22c8d756590e3f07.tar dexon-solidity-6de9fc710e6941574b7488af22c8d756590e3f07.tar.gz dexon-solidity-6de9fc710e6941574b7488af22c8d756590e3f07.tar.bz2 dexon-solidity-6de9fc710e6941574b7488af22c8d756590e3f07.tar.lz dexon-solidity-6de9fc710e6941574b7488af22c8d756590e3f07.tar.xz dexon-solidity-6de9fc710e6941574b7488af22c8d756590e3f07.tar.zst dexon-solidity-6de9fc710e6941574b7488af22c8d756590e3f07.zip |
Minor edits
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 acef13b7..52319be0 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 -conssuming more than the 2300 gas stipend). That way, +consuming more than the 2300 gas stipend). 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. @@ -121,7 +121,7 @@ unless you declare make your state variables ``public``. Furthermore, you can restrict who can make modifications to your contract's state or call your contract's -functions and this is what this page is about. +functions and this is what this section is about. .. index:: function;modifier |