瀏覽代碼

fix Pausable documentation

Francisco Giordano 8 年之前
父節點
當前提交
99887da49a
共有 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);