From d58a4e08daba3a672a3494402b2d448c704dd69e Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 2 May 2017 17:33:46 +0200 Subject: Corrections and some style. --- docs/frequently-asked-questions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/frequently-asked-questions.rst') 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 -- cgit v1.2.3