You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the mitigation, the StRSR._payoutRewards function will not been skipped for freeze state.
There are two functions function payoutRewards() external and function stake(uint256 rsrAmount) public delete the main.frozen() check for _payoutRewards.
And calling _payoutRewards is added to the cancelUnstake function to payout rewards before updating draftRSR.
The text was updated successfully, but these errors were encountered:
Lines of code
Vulnerability details
Comments
After the mitigation, the
StRSR._payoutRewards
function will not been skipped for freeze state.There are two functions
function payoutRewards() external
andfunction stake(uint256 rsrAmount) public
delete themain.frozen()
check for_payoutRewards
.And calling
_payoutRewards
is added to thecancelUnstake
function to payout rewards before updating draftRSR.The text was updated successfully, but these errors were encountered: