Skip to content

Commit

Permalink
Fix audit #ASD-03
Browse files Browse the repository at this point in the history
  • Loading branch information
cwsnt committed Nov 11, 2021
1 parent 1a5b8da commit b9793a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contracts/modules/Affiliates.sol
Expand Up @@ -192,8 +192,7 @@ contract Affiliates is State, AffiliatesEvents, ModuleCommonFunctionalities {
* @param feeAmount The height of the fee.
* @return The reward amount.
* */
function _getSovBonusAmount(address feeToken, uint256 feeAmount) internal view returns (uint256) {
uint256 rewardAmount;
function _getSovBonusAmount(address feeToken, uint256 feeAmount) internal view returns (uint256 rewardAmount) {
address _priceFeeds = priceFeeds;

/// @dev Calculate the reward amount, querying the price feed.
Expand Down

0 comments on commit b9793a0

Please sign in to comment.