Fix linter warnings
This commit is contained in:
parent
327ae14112
commit
d29a259090
|
@ -83,9 +83,9 @@ contract Marketplace is Proofs, StateRetrieval {
|
|||
require(_requests[id].client == address(0), "Request already exists");
|
||||
|
||||
_requests[id] = request;
|
||||
uint256 requestEnd = block.timestamp + request.ask.duration;
|
||||
require(requestEnd > request.expiry, "Request end before expiry");
|
||||
_requestContexts[id].endsAt = requestEnd;
|
||||
uint256 endsAt = block.timestamp + request.ask.duration;
|
||||
require(endsAt > request.expiry, "Request end before expiry");
|
||||
_requestContexts[id].endsAt = endsAt;
|
||||
|
||||
_addToMyRequests(request.client, id);
|
||||
|
||||
|
|
|
@ -3,9 +3,9 @@ pragma solidity ^0.8.8;
|
|||
|
||||
interface IVerifier {
|
||||
function verifyProof(
|
||||
uint[2] calldata _pA,
|
||||
uint[2][2] calldata _pB,
|
||||
uint[2] calldata _pC,
|
||||
uint[3] calldata _pubSignals
|
||||
uint[2] calldata pA,
|
||||
uint[2][2] calldata pB,
|
||||
uint[2] calldata pC,
|
||||
uint[3] calldata pubSignals
|
||||
) external view returns (bool);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue