Fixed misnamed contract initializer (#2650)

References:
https://github.com/adambard/learnxinyminutes-docs/issues/2642
This commit is contained in:
Nemil Dalal 2017-03-15 02:16:33 -07:00 committed by ven
parent 7a7605933d
commit 9e8a3d73b6

View File

@ -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;