summaryrefslogtreecommitdiffhomepage
path: root/solidity.html.markdown
diff options
context:
space:
mode:
authorNemil Dalal <nemild@gmail.com>2015-12-28 21:53:37 -0500
committerNemil Dalal <nemild@gmail.com>2015-12-28 21:53:37 -0500
commit65cba2b1f5405d53e498bfa96a0e407423dd9a4e (patch)
tree6e49a0eab2981ebf308a82473a7683bfe3cb1bba /solidity.html.markdown
parent8f9f9e53e825b346c49139769b8bbfd08d0bed4e (diff)
Fixed mapping
Diffstat (limited to 'solidity.html.markdown')
-rw-r--r--solidity.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/solidity.html.markdown b/solidity.html.markdown
index 7de92fce..5b632c11 100644
--- a/solidity.html.markdown
+++ b/solidity.html.markdown
@@ -219,7 +219,7 @@ function balances(address _account) returns (uint balance) {
}
// Nested mappings
-mapping (address => mapping (address => uint) balances) public custodians;
+mapping (address => mapping (address => uint)) public custodians;
// To delete
delete balances["John"];