mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-07-31 20:10:49 +02:00
Fixed misnamed contract initializer (#2650)
References: https://github.com/adambard/learnxinyminutes-docs/issues/2642
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user