stoppable polish
This commit is contained in:
@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user