Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
iethena committed Nov 16, 2024
1 parent 386b730 commit 8bdb45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/ustb/UStb.sol
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ contract UStb is
*/
function addWhitelistAddress(address[] calldata users) external onlyRole(WHITELIST_MANAGER_ROLE) {
for (uint8 i = 0; i < users.length; i++) {
if (!hasRole(BLACKLISTED_ROLE, users[i])) _grantRole(WHITELISTED_ROLE, users[i]);
if (!hasRole(BLACKLISTED_ROLE, users[i])) _grantRole(WHITELISTED_ROLE, users[i]);
}
}

Expand Down

0 comments on commit 8bdb45e

Please sign in to comment.