Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
Revert "fix lint"
Browse files Browse the repository at this point in the history
This reverts commit c320211.
  • Loading branch information
kingster-will committed Feb 6, 2024
1 parent c320211 commit 95edf7d
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 448 deletions.
6 changes: 2 additions & 4 deletions contracts/AccessController.sol
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,15 @@ contract AccessController is IAccessController, Governable {

/// @inheritdoc IAccessController
function setBatchPermissions(AccessPermission.Permission[] memory permissions) external whenNotPaused {
for (uint256 i = 0; i < permissions.length; ) {
for (uint256 i = 0; i < permissions.length;) {
setPermission(
permissions[i].ipAccount,
permissions[i].signer,
permissions[i].to,
permissions[i].func,
permissions[i].permission
);
unchecked {
i += 1;
}
unchecked { i += 1; }
}
}

Expand Down
Loading

0 comments on commit 95edf7d

Please sign in to comment.