Skip to content

Commit

Permalink
Remove unnecessary casts (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
garyghayrat authored Jul 26, 2024
1 parent 1f7299b commit 12eaa17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gov-action-contracts/TimelockRolesUpgrader.sol
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ contract TimelockRolesUpgrader {
}

function _grantRole(address _timelock, address _governor, bytes32 _role) private {
TimelockControllerUpgradeable(payable(_timelock)).grantRole(_role, address(_governor));
TimelockControllerUpgradeable(payable(_timelock)).grantRole(_role, _governor);
}

function _revokeRole(address _timelock, address _governor, bytes32 _role) private {
TimelockControllerUpgradeable(payable(_timelock)).revokeRole(_role, address(_governor));
TimelockControllerUpgradeable(payable(_timelock)).revokeRole(_role, _governor);
}
}

0 comments on commit 12eaa17

Please sign in to comment.