Commit 09a8da5d by Jeremy Grenier

Remove return values of pause() and unpause() of Pausable

parent de0e6ba2
...@@ -34,18 +34,16 @@ contract Pausable is Ownable { ...@@ -34,18 +34,16 @@ contract Pausable is Ownable {
/** /**
* @dev called by the owner to pause, triggers stopped state * @dev called by the owner to pause, triggers stopped state
*/ */
function pause() onlyOwner whenNotPaused returns (bool) { function pause() onlyOwner whenNotPaused {
paused = true; paused = true;
Pause(); Pause();
return true;
} }
/** /**
* @dev called by the owner to unpause, returns to normal state * @dev called by the owner to unpause, returns to normal state
*/ */
function unpause() onlyOwner whenPaused returns (bool) { function unpause() onlyOwner whenPaused {
paused = false; paused = false;
Unpause(); Unpause();
return true;
} }
} }
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