Skip to content

Commit

Permalink
Unify prefix notation
Browse files Browse the repository at this point in the history
  • Loading branch information
manumonti committed Sep 11, 2024
1 parent dd53240 commit a390c28
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions contracts/RewardsAggregator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -68,21 +68,21 @@ contract RewardsAggregator is Ownable, IRewardsAggregator {
oldCumulativeMerkleDrop = _oldCumulativeMerkleDrop;
}

function setMerkleRoot(bytes32 merkleRoot_) external override onlyOwner {
emit MerkleRootUpdated(merkleRoot, merkleRoot_);
merkleRoot = merkleRoot_;
function setMerkleRoot(bytes32 _merkleRoot) external override onlyOwner {
emit MerkleRootUpdated(merkleRoot, _merkleRoot);
merkleRoot = _merkleRoot;
}

/**
* @notice Sets the address from where Merkle rewards are being pulled.
*/
function setMerkleRewardsHolder(address rewardsHolder_) external onlyOwner {
function setMerkleRewardsHolder(address _rewardsHolder) external onlyOwner {
require(
rewardsHolder_ != address(0),
_rewardsHolder != address(0),
"Rewards Holder must be an address"
);
emit RewardsHolderUpdated(rewardsHolder, rewardsHolder_);
rewardsHolder = rewardsHolder_;
emit RewardsHolderUpdated(rewardsHolder, _rewardsHolder);
rewardsHolder = _rewardsHolder;
}

/**
Expand Down

0 comments on commit a390c28

Please sign in to comment.