diff options
author | chriseth <chris@ethereum.org> | 2017-05-02 23:33:46 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-03 18:07:15 +0800 |
commit | d58a4e08daba3a672a3494402b2d448c704dd69e (patch) | |
tree | e8998d144070192f0aa7cac183cead34b3490280 /docs/frequently-asked-questions.rst | |
parent | 7e838fd4a875e6a1f7e7ec60d7b4c5502e22dde4 (diff) | |
download | dexon-solidity-d58a4e08daba3a672a3494402b2d448c704dd69e.tar.gz dexon-solidity-d58a4e08daba3a672a3494402b2d448c704dd69e.tar.zst dexon-solidity-d58a4e08daba3a672a3494402b2d448c704dd69e.zip |
Corrections and some style.
Diffstat (limited to 'docs/frequently-asked-questions.rst')
-rw-r--r-- | docs/frequently-asked-questions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/frequently-asked-questions.rst b/docs/frequently-asked-questions.rst index 029e32eb..03ee8388 100644 --- a/docs/frequently-asked-questions.rst +++ b/docs/frequently-asked-questions.rst @@ -665,7 +665,7 @@ What does the following strange check do in the Custom Token contract? :: - require(balanceOf[_to] + _value >= balanceOf[_to]); + require((balanceOf[_to] + _value) >= balanceOf[_to]); Integers in Solidity (and most other machine-related programming languages) are restricted to a certain range. For ``uint256``, this is ``0`` up to ``2**256 - 1``. If the result of some operation on those numbers |