diff options
Diffstat (limited to 'docs/solidity-by-example.rst')
-rw-r--r-- | docs/solidity-by-example.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/solidity-by-example.rst b/docs/solidity-by-example.rst index 8e23dafd..b8fa4a73 100644 --- a/docs/solidity-by-example.rst +++ b/docs/solidity-by-example.rst @@ -403,8 +403,8 @@ high or low invalid bids. /// functions. `onlyBefore` is applied to `bid` below: /// The new function body is the modifier's body where /// `_` is replaced by the old function body. - modifier onlyBefore(uint _time) { if (now >= _time) throw; _ } - modifier onlyAfter(uint _time) { if (now <= _time) throw; _ } + modifier onlyBefore(uint _time) { if (now >= _time) throw; _; } + modifier onlyAfter(uint _time) { if (now <= _time) throw; _; } function BlindAuction( uint _biddingTime, |