Commit 99887da4 by Francisco Giordano

fix Pausable documentation

parent dcdc453a
...@@ -16,7 +16,7 @@ contract Pausable is Ownable { ...@@ -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() { modifier whenNotPaused() {
require(!paused); require(!paused);
...@@ -24,7 +24,7 @@ contract Pausable is Ownable { ...@@ -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() { modifier whenPaused() {
require(paused); require(paused);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment