From a390c28a85422e2f80f90a744684f21670bde783 Mon Sep 17 00:00:00 2001 From: Manuel Montenegro Date: Wed, 11 Sep 2024 18:34:50 +0200 Subject: [PATCH] Unify prefix notation --- contracts/RewardsAggregator.sol | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/contracts/RewardsAggregator.sol b/contracts/RewardsAggregator.sol index a020d795..d1b81b45 100644 --- a/contracts/RewardsAggregator.sol +++ b/contracts/RewardsAggregator.sol @@ -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; } /**