summaryrefslogtreecommitdiffhomepage
path: root/solidity.html.markdown
diff options
context:
space:
mode:
authorNemil Dalal <nemild@gmail.com>2017-03-15 02:16:33 -0700
committerven <vendethiel@hotmail.fr>2017-03-15 10:16:33 +0100
commit9e8a3d73b687b3b4ee3558ceef2c1944f7d4051c (patch)
tree4945db0076803f4f2fc853eb7377cc808ecf2f10 /solidity.html.markdown
parent7a7605933d251d22faec0fe6d81af5031374a758 (diff)
Fixed misnamed contract initializer (#2650)
References: https://github.com/adambard/learnxinyminutes-docs/issues/2642
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 5b0ac3a3..602d74f0 100644
--- a/solidity.html.markdown
+++ b/solidity.html.markdown
@@ -62,7 +62,7 @@ contract SimpleBank { // CapWords
event LogDepositMade(address accountAddress, uint amount);
// Constructor, can receive one or many variables here; only one allowed
- function AcmeBank() {
+ function SimpleBank() {
// msg provides details about the message that's sent to the contract
// msg.sender is contract caller (address of contract creator)
owner = msg.sender;