From 9e8a3d73b687b3b4ee3558ceef2c1944f7d4051c Mon Sep 17 00:00:00 2001 From: Nemil Dalal Date: Wed, 15 Mar 2017 02:16:33 -0700 Subject: [PATCH] Fixed misnamed contract initializer (#2650) References: https://github.com/adambard/learnxinyminutes-docs/issues/2642 --- solidity.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;