Skip to content

Commit

Permalink
fix allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
Max authored and Max committed Oct 21, 2022
1 parent 92b22cd commit bc46c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/TransitAllowed.sol
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ contract TransitAllowed is Ownable {

function changeCallerAllowed(uint8[] calldata flags, address[][] calldata callers) public onlyExecutor {
for (uint index; index < flags.length; index++) {
for (uint indexSecond; indexSecond < flags.length; indexSecond++) {
for (uint indexSecond; indexSecond < callers[index].length; indexSecond++) {
_caller_allowed[flags[index]][callers[index][indexSecond]] = !_caller_allowed[flags[index]][callers[index][indexSecond]];
}
}
Expand Down

0 comments on commit bc46c47

Please sign in to comment.