Skip to content

Commit 6cdea71

Browse files
committed
controller: remove recovery pause and just use a full pause
1 parent ab636ff commit 6cdea71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contracts/governance/Controller.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ contract Controller is IController, Governed, Pausable {
1717
constructor() public {
1818
Governed._initialize(msg.sender);
1919
_setPaused(true);
20-
_setRecoveryPaused(true);
2120
}
2221

2322
/**
@@ -63,13 +62,15 @@ contract Controller is IController, Governed, Pausable {
6362

6463
/**
6564
* @notice Change the recovery paused state of the contract
65+
* Recovery pause is intented as a partial pause of the protocol
6666
*/
6767
function setRecoveryPaused(bool _recoveryPaused) external onlyGovernorOrGuardian {
6868
_setRecoveryPaused(_recoveryPaused);
6969
}
7070

7171
/**
7272
* @notice Change the paused state of the contract
73+
* Full pause most of protocol functions
7374
*/
7475
function setPaused(bool _paused) external onlyGovernorOrGuardian {
7576
_setPaused(_paused);

0 commit comments

Comments
 (0)