Skip to content

Commit

Permalink
Add explanatory comment to function
Browse files Browse the repository at this point in the history
  • Loading branch information
manumonti committed Sep 11, 2024
1 parent 86c1ecc commit a906b84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contracts/RewardsAggregator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ contract RewardsAggregator is Ownable, IRewardsAggregator {
merkleRoot = merkleRoot_;
}

/**
* @notice Sets the address from where Merkle rewards are being pulled.
*/
function setMerkleRewardsHolder(address rewardsHolder_) external onlyOwner {
require(
rewardsHolder_ != address(0),
Expand Down

0 comments on commit a906b84

Please sign in to comment.