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

This commit is contained in:
Jeremy Grenier
2017-07-28 17:35:27 +02:00
parent de0e6ba222
commit 09a8da5d6a

View File

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