Skip to content

Commit 14c237f

Browse files
committed
StakingContract: onlyOwner modifier added in setEmergencyMode
1 parent 90d26ba commit 14c237f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/StakingContract.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,8 @@ contract StakingContract is Initializable, ReactiveStaking, OwnableUpgradeable {
2929
function setCooldownPeriod(uint256 cooldown) public override onlyOwner {
3030
super.setCooldownPeriod(cooldown);
3131
}
32+
33+
function setEmergencyMode(bool enabled) public override onlyOwner {
34+
super.setEmergencyMode(enabled);
35+
}
3236
}

0 commit comments

Comments
 (0)