stoppable style

This commit is contained in:
Manuel Araoz
2016-08-12 11:33:56 -03:00
parent fa8fd3044b
commit c543282f40

View File

@ -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;
}