Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhe8x committed Apr 23, 2024
1 parent 7758f9b commit 79806e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/RewardsStaking.sol
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ contract RewardsStaking is IRewardsStaking, Initializable, OwnableUpgradeable {
).getCommissionRate(runner);
commissionRates[runner] = newCommissionRate;
pendingCommissionRateChange[runner] = 0;
_updateTotalStakingAmount(stakingManager, runner, rewardInfo.lastClaimEra);
_updateTotalStakingAmount(stakingManager, runner, rewardInfo.lastClaimEra, true);
emit ICRChanged(runner, newCommissionRate);
}

Expand Down

0 comments on commit 79806e8

Please sign in to comment.