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
There is a _payoutRewards call to payout rewards before updating draftRSR(mint shares) in the cancelUnstake function after the mitigation:
_payoutRewards();
// ==== Transfer RSR from the draft pool
totalDrafts = newTotalDrafts;
draftRSR = newDraftRSR;
emitUnstakingCancelled(firstId, endId, draftEra, account, rsrAmount);
// Mint new stakesmintStakes(account, rsrAmount);
The text was updated successfully, but these errors were encountered:
Lines of code
Vulnerability details
Comments
There is a
_payoutRewards
call to payout rewards before updating draftRSR(mint shares) in thecancelUnstake
function after the mitigation:The text was updated successfully, but these errors were encountered: