summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAl <80943867+al-ias@users.noreply.github.com>2022-07-25 10:54:32 +0200
committerGitHub <noreply@github.com>2022-07-25 10:54:32 +0200
commit23be2f300cfab96e455e2403d8364dfc9ed35037 (patch)
tree741c4b63b7a7a194d817dd5f5369f8e2afde05f7
parent814f3dbc9867c1062cb10ae6da8aa9061b288324 (diff)
Fix missing semicolon
-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)