Skip to content

Commit

Permalink
Merge pull request #428 from frangio/fix-425-pausable-docs
Browse files Browse the repository at this point in the history
Fix Pausable documentation
  • Loading branch information
frangio authored Sep 6, 2017
2 parents b07466a + 99887da commit fdc8fba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/lifecycle/Pausable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ 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);
_;
}

/**
* @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);
Expand Down

0 comments on commit fdc8fba

Please # to comment.