stoppable polish

This commit is contained in:
Manuel Araoz
2016-08-11 18:23:39 -03:00
parent 4bfc2ba858
commit 66fb8476b2

View File

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