From 23be2f300cfab96e455e2403d8364dfc9ed35037 Mon Sep 17 00:00:00 2001 From: Al <80943867+al-ias@users.noreply.github.com> Date: Mon, 25 Jul 2022 10:54:32 +0200 Subject: Fix missing semicolon --- solidity.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3