summaryrefslogtreecommitdiffhomepage
path: root/solidity.html.markdown
diff options
context:
space:
mode:
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 fc54d6e4..c1f910fd 100644
--- a/solidity.html.markdown
+++ b/solidity.html.markdown
@@ -262,7 +262,7 @@ Bank b = Bank({
// or
Bank c = Bank(msg.sender, 5);
-c.amount = 5; // set to new value
+c.balance = 5; // set to new value
delete b;
// sets to initial value, set all variables in struct to 0, except mappings