소스 검색

Merge pull request #428 from frangio/fix-425-pausable-docs

Fix Pausable documentation
Francisco Giordano 8 년 전
부모
커밋
fdc8fbaa45
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      contracts/lifecycle/Pausable.sol

+ 2 - 2
contracts/lifecycle/Pausable.sol

@@ -16,7 +16,7 @@ contract Pausable is Ownable {
 
 
   /**
-   * @dev modifier to allow actions only when the contract IS paused
+   * @dev Modifier to make a function callable only when the contract is not paused.
    */
   modifier whenNotPaused() {
     require(!paused);
@@ -24,7 +24,7 @@ contract Pausable is Ownable {
   }
 
   /**
-   * @dev modifier to allow actions only when the contract IS NOT paused
+   * @dev Modifier to make a function callable only when the contract is paused.
    */
   modifier whenPaused() {
     require(paused);