From 04bb54bbbf8a20537a0a9ce94032025bbab9f29e Mon Sep 17 00:00:00 2001 From: andrewh-code Date: Sun, 27 Nov 2016 16:02:06 -0500 Subject: [PATCH] adding semi-colon to modifiers in wallet.sol, std.sol, and name_reg.sol --- _pre/name_reg.sol | 2 +- contracts/std.sol | 2 +- contracts/wallet.sol | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/_pre/name_reg.sol b/_pre/name_reg.sol index 562ec96..4f30339 100644 --- a/_pre/name_reg.sol +++ b/_pre/name_reg.sol @@ -4,7 +4,7 @@ contract owned { owner = msg.sender; } modifier onlyowner() { - if (msg.sender==owner) _ + if (msg.sender==owner) _; } } diff --git a/contracts/std.sol b/contracts/std.sol index 4f45f49..93be0fc 100644 --- a/contracts/std.sol +++ b/contracts/std.sol @@ -7,7 +7,7 @@ contract owned { owner = newOwner; } modifier onlyowner() { - if (msg.sender==owner) _ + if (msg.sender==owner) _; } } diff --git a/contracts/wallet.sol b/contracts/wallet.sol index 0422cc3..9adcfec 100644 --- a/contracts/wallet.sol +++ b/contracts/wallet.sol @@ -38,14 +38,14 @@ contract multiowned { // simple single-sig function modifier. modifier onlyowner { if (isOwner(msg.sender)) - _ + _; } // multi-sig function modifier: the operation must have an intrinsic hash in order // that later attempts can be realised as the same underlying operation and // thus count as confirmations. modifier onlymanyowners(bytes32 _operation) { if (confirmAndCheck(_operation)) - _ + _; } // METHODS @@ -253,7 +253,7 @@ contract daylimit is multiowned { // simple modifier for daily limit. modifier limitedDaily(uint _value) { if (underLimit(_value)) - _ + _; } // METHODS