Commit c543282f by Manuel Araoz

stoppable style

parent fa8fd304
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment