Skip to content

Commit 291d5a5

Browse files
committed
added the avatar as a pauser in the constructor
1 parent fda3801 commit 291d5a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stakingModel/contracts/SimpleDAIStaking.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ contract SimpleDAIStaking is DSMath, Pausable, FeelessScheme {
7979
blockInterval = _blockInterval;
8080
lastUBICollection = block.number.div(blockInterval);
8181
fundManager = _fundManager;
82+
addPauser(address(avatar));
8283
}
8384

8485
/**
@@ -215,7 +216,6 @@ contract SimpleDAIStaking is DSMath, Pausable, FeelessScheme {
215216
* @dev making the contract active
216217
*/
217218
function start() public onlyRegistered {
218-
addPauser(address(avatar));
219219
addRights();
220220
}
221221

0 commit comments

Comments
 (0)