mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-26 15:13:56 +00:00
Fixed misnamed contract initializer (#2650)
References: https://github.com/adambard/learnxinyminutes-docs/issues/2642
This commit is contained in:
parent
7a7605933d
commit
9e8a3d73b6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user