From c543282f40401b69f769815d8bf7da5c651cfe74 Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Fri, 12 Aug 2016 11:33:56 -0300 Subject: [PATCH] stoppable style --- contracts/Stoppable.sol | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/contracts/Stoppable.sol b/contracts/Stoppable.sol index 7ffde0575..8465ddfab 100644 --- a/contracts/Stoppable.sol +++ b/contracts/Stoppable.sol @@ -11,16 +11,12 @@ contract Stoppable { modifier onlyInEmergency { if (stopped) _ } function Stoppable(address _curator) { - if (_curator == 0) { - throw; - } + if (_curator == 0) throw; curator = _curator; } function emergencyStop() external { - if (msg.sender != curator) { - throw; - } + if (msg.sender != curator) throw; stopped = true; }