Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless committed Sep 20, 2024
1 parent 931bdfd commit e2a487a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions l1-contracts/deploy-scripts/GatewayPreparation.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -389,15 +389,15 @@ contract GatewayPreparation is Script {
function grantWhitelist(address filtererProxy, address[] memory addresses) public {
initializeConfig();

for(uint256 i = 0; i < addresses.length; i++) {
for (uint256 i = 0; i < addresses.length; i++) {
if (GatewayTransactionFilterer(filtererProxy).whitelistedSenders(addresses[i])) {
console.log("Address already whitelisted: ", addresses[i]);
} else {
_grantWhitelist(filtererProxy, addresses[i]);
}
}
}

function _grantWhitelist(address filtererProxy, address addr) internal {
Utils.adminExecute({
_admin: config.gatewayChainAdmin,
Expand Down

0 comments on commit e2a487a

Please sign in to comment.