Browse Source

stoppable style

Manuel Araoz 9 years ago
parent
commit
c543282f40
1 changed files with 2 additions and 6 deletions
  1. 2 6
      contracts/Stoppable.sol

+ 2 - 6
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;
   }