Skip to content

Commit

Permalink
fix: Replace deprecated function call to grant role
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmtzinf committed May 23, 2024
1 parent 89b42b0 commit 82f7ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contracts/gho/UpgradeableGhoToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ contract UpgradeableGhoToken is VersionedInitializable, UpgradeableERC20, Access
function initialize(address admin) public virtual initializer {
_ERC20_init('Gho Token', 'GHO');

_setupRole(DEFAULT_ADMIN_ROLE, admin);
_grantRole(DEFAULT_ADMIN_ROLE, admin);
}

/// @inheritdoc IGhoToken
Expand Down

0 comments on commit 82f7ed2

Please sign in to comment.