Skip to content

Commit

Permalink
fix: areOperatorsImported wrong logic (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximebrugel committed Feb 16, 2022
1 parent d2e48a8 commit 720b450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/OperatorResolver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ contract OperatorResolver is IOperatorResolver, Ownable {
require(namesLength == destinations.length, "OR: INPUTS_LENGTH_MUST_MATCH");
for (uint256 i = 0; i < namesLength; i++) {
if (
operators[names[i]].implementation != destinations[i].implementation &&
operators[names[i]].implementation != destinations[i].implementation ||
operators[names[i]].selector != destinations[i].selector
) {
return false;
Expand Down

0 comments on commit 720b450

Please sign in to comment.