This commit is contained in:
Dave Hoover
2016-04-11 22:53:05 -05:00
parent 054bc2a6ac
commit 66c8c15a7f
+1 -1
View File
@@ -122,7 +122,7 @@ get the idea - the compiler figures that out for you.
.. index:: mapping
The next line, `mapping (address => uint) public balances;` also
creates a public state variable, but it of a more complex datatype.
creates a public state variable, but it is a more complex datatype.
The type maps addresses to unsigned integers.
Mappings can be seen as hashtables which are
virtually initialized such that every possible key exists and is mapped to a