Fix linter warnings

This commit is contained in:
Mark Spanbroek 2024-01-10 15:18:31 +01:00 committed by markspanbroek
parent 327ae14112
commit d29a259090
2 changed files with 7 additions and 7 deletions

View File

@ -83,9 +83,9 @@ contract Marketplace is Proofs, StateRetrieval {
require(_requests[id].client == address(0), "Request already exists"); require(_requests[id].client == address(0), "Request already exists");
_requests[id] = request; _requests[id] = request;
uint256 requestEnd = block.timestamp + request.ask.duration; uint256 endsAt = block.timestamp + request.ask.duration;
require(requestEnd > request.expiry, "Request end before expiry"); require(endsAt > request.expiry, "Request end before expiry");
_requestContexts[id].endsAt = requestEnd; _requestContexts[id].endsAt = endsAt;
_addToMyRequests(request.client, id); _addToMyRequests(request.client, id);

View File

@ -3,9 +3,9 @@ pragma solidity ^0.8.8;
interface IVerifier { interface IVerifier {
function verifyProof( function verifyProof(
uint[2] calldata _pA, uint[2] calldata pA,
uint[2][2] calldata _pB, uint[2][2] calldata pB,
uint[2] calldata _pC, uint[2] calldata pC,
uint[3] calldata _pubSignals uint[3] calldata pubSignals
) external view returns (bool); ) external view returns (bool);
} }