summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAl <80943867+al-ias@users.noreply.github.com>2022-07-24 21:17:41 +0200
committerAl <80943867+al-ias@users.noreply.github.com>2022-07-24 21:17:41 +0200
commit40e69760e93322603cf1780f9f54793a5aefaaa3 (patch)
tree5e7de74fce2628405461b15912b9c4e255e79795
parent6de5f8152b6fc61c1b240ece1d0bf5c37f8e431d (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 fc9c8788..f60ba30f 100644
--- a/solidity.html.markdown
+++ b/solidity.html.markdown
@@ -494,7 +494,7 @@ Coin.LogSent().watch({}, '', function(error, result) {
// '_' (underscore) often included as last line in body, and indicates
// function being called should be placed there
modifier onlyAfter(uint _time) { require (now >= _time); _; }
-modifier onlyOwner { require(msg.sender == owner) _; }
+modifier onlyOwner { require(msg.sender == owner); _; }
// commonly used with state machines
modifier onlyIfStateA (State currState) { require(currState == State.A) _; }