The onlyBuyerOrSeller modifier is designed to ensure than only the buyer or the seller can initiate a dispute, but due to incorrect implementation neither the buyer or the seller will be able to initiate a dispute.
This current implementation will revert if the caller is not i_buyer
AND i_seller
which is incorrect.
Disputes between buyers and sellers can never be initiated, rendering the initiateDispute() function useless.
Manual
Use ||
instead of &&
like so:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.