Skip to content

Commit

Permalink
fix solhint
Browse files Browse the repository at this point in the history
  • Loading branch information
daveroga committed Jan 10, 2025
1 parent 10eb73d commit ca1f04f
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions contracts/verifiers/Verifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -571,10 +571,7 @@ abstract contract Verifier is IVerifier, ContextUpgradeable {
);

// 2. Check if all linked response fields are the same
bool linkedResponsesOK = _checkLinkedResponseFields(
multiRequestId,
userAddress
);
bool linkedResponsesOK = _checkLinkedResponseFields(multiRequestId, userAddress);

if (!linkedResponsesOK) {
revert LinkIDNotTheSameForGroupedRequests();
Expand All @@ -598,16 +595,13 @@ abstract contract Verifier is IVerifier, ContextUpgradeable {

if (verified) {
// 2. Check if all linked response fields are the same
bool linkedResponsesOK = _checkLinkedResponseFields(
multiRequestId,
userAddress
);
bool linkedResponsesOK = _checkLinkedResponseFields(multiRequestId, userAddress);

if (!linkedResponsesOK) {
verified = false;
}
}

return verified;
}

Expand Down

0 comments on commit ca1f04f

Please sign in to comment.