Skip to content

Commit

Permalink
Removed unnecessary cast (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
jferas authored Dec 15, 2024
1 parent 78899c8 commit e6c891c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/extensions/GovernorVotesCompUpgradeable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ abstract contract GovernorVotesCompUpgradeable is Initializable, GovernorUpgrade

function __GovernorVotesComp_init_unchained(IComp _tokenAddress) internal onlyInitializing {
GovernorVotesCompStorage storage $ = _getGovernorVotesCompStorage();
$._token = IComp(address(_tokenAddress));
$._token = _tokenAddress;
}

/// @notice Returns the IComp token used for governance.
Expand Down

0 comments on commit e6c891c

Please sign in to comment.