mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Fix missing semicolon
This commit is contained in:
parent
814f3dbc98
commit
23be2f300c
@ -496,7 +496,7 @@ Coin.LogSent().watch({}, '', function(error, result) {
|
|||||||
modifier onlyAfter(uint _time) { require (now >= _time); _; }
|
modifier onlyAfter(uint _time) { require (now >= _time); _; }
|
||||||
modifier onlyOwner { require(msg.sender == owner); _; }
|
modifier onlyOwner { require(msg.sender == owner); _; }
|
||||||
// commonly used with state machines
|
// commonly used with state machines
|
||||||
modifier onlyIfStateA (State currState) { require(currState == State.A) _; }
|
modifier onlyIfStateA (State currState) { require(currState == State.A); _; }
|
||||||
|
|
||||||
// Append right after function declaration
|
// Append right after function declaration
|
||||||
function changeOwner(newOwner)
|
function changeOwner(newOwner)
|
||||||
|
Loading…
Reference in New Issue
Block a user