Skip to content

Commit

Permalink
fix(BlacklistValidator): adding missing modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
KristenPire committed Jun 6, 2024
1 parent a749487 commit 5a62067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BlacklistValidatorUpgradeable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ contract BlacklistValidatorUpgradeable is
* @dev add admin account.
* @param account The address of the account.
*/
function addAdminAccount(address account) public virtual {
function addAdminAccount(address account) public virtual onlyOwner {
grantRole(ADMIN_ROLE, account);
emit AdminAccountAdded(account);
}
Expand Down

0 comments on commit 5a62067

Please sign in to comment.