Skip to content

Commit

Permalink
Safe Transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
akshatmittal committed Apr 22, 2024
1 parent 39be966 commit 9b3e12c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/rewards/GenericMultiRewardsVault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ contract GenericMultiRewardsVault is ERC4626, Ownable {
}

accruedRewards[user][_rewardTokens[i]] = 0;
_rewardTokens[i].transfer(user, rewardAmount);
SafeERC20.safeTransfer(_rewardTokens[i], user, rewardAmount);

emit Events.RewardsClaimed(user, _rewardTokens[i], rewardAmount);
}
Expand Down

0 comments on commit 9b3e12c

Please sign in to comment.