Browse Source

Merge pull request #340 from abarmat/style-1

Add missing parentheses in modifier
Francisco Giordano 8 years ago
parent
commit
52490b92bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contracts/lifecycle/Pausable.sol

+ 1 - 1
contracts/lifecycle/Pausable.sol

@@ -26,7 +26,7 @@ contract Pausable is Ownable {
   /**
    * @dev modifier to allow actions only when the contract IS NOT paused
    */
-  modifier whenPaused {
+  modifier whenPaused() {
     require(paused);
     _;
   }