From 66fb8476b2976c2e57ad4b906e545e0ed797f9a6 Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Thu, 11 Aug 2016 18:23:39 -0300 Subject: [PATCH] stoppable polish --- contracts/Stoppable.sol | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contracts/Stoppable.sol b/contracts/Stoppable.sol index 11f4b88b3..7ffde0575 100644 --- a/contracts/Stoppable.sol +++ b/contracts/Stoppable.sol @@ -1,5 +1,7 @@ /* * Stoppable + * Abstract contract that allows children to implement an + * emergency stop mechanism. */ contract Stoppable { address public curator; @@ -9,7 +11,7 @@ contract Stoppable { modifier onlyInEmergency { if (stopped) _ } function Stoppable(address _curator) { - if (_curator == 0) { + if (_curator == 0) { throw; } curator = _curator;