Skip to content

Commit

Permalink
👷 add updateReward(_account) modifier to _processReward()
Browse files Browse the repository at this point in the history
  • Loading branch information
cmontecoding committed Oct 28, 2024
1 parent 0f1db85 commit c9e48f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/StakingRewardsV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ contract StakingRewardsV2 is
/// @return kwentaReward The amount of Kwenta reward processed
function _processReward(address _account, address _to, bool transferKwenta)
internal
updateReward(_account)
returns (uint256 kwentaReward)
{
// Process Kwenta reward
Expand Down

0 comments on commit c9e48f6

Please sign in to comment.