stoppable polish

pull/14/head
Manuel Araoz 9 years ago
parent 4bfc2ba858
commit 66fb8476b2
  1. 4
      contracts/Stoppable.sol

@ -1,5 +1,7 @@
/* /*
* Stoppable * Stoppable
* Abstract contract that allows children to implement an
* emergency stop mechanism.
*/ */
contract Stoppable { contract Stoppable {
address public curator; address public curator;
@ -9,7 +11,7 @@ contract Stoppable {
modifier onlyInEmergency { if (stopped) _ } modifier onlyInEmergency { if (stopped) _ }
function Stoppable(address _curator) { function Stoppable(address _curator) {
if (_curator == 0) { if (_curator == 0) {
throw; throw;
} }
curator = _curator; curator = _curator;

Loading…
Cancel
Save