summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--solidity.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/solidity.html.markdown b/solidity.html.markdown
index 4dfb0adc..d40536b4 100644
--- a/solidity.html.markdown
+++ b/solidity.html.markdown
@@ -496,7 +496,7 @@ Coin.LogSent().watch({}, '', function(error, result) {
modifier onlyAfter(uint _time) { require (now >= _time); _; }
modifier onlyOwner { require(msg.sender == owner); _; }
// 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
function changeOwner(newOwner)