Buyer
can be an arbiter
leading to unfavorable disputes being resolvedThe contract's constructor
currently allows an Escrow to be created with the buyer
being the arbiter
, there is no requirement for buyer
!= arbiter
https://github.com/Cyfrin/2023-07-escrow/tree/main/src/Escrow.sol#L32
As a result, if a dispute is initiated via initiateDispute()
by a seller. It can lead to unfavorable disputes being resolved in the favour of the buyer
due to the buyer
being the arbiter
.
Resolving disputes can be unfavourable to the seller
as the buyer
is also the arbiter
Require that the buyer
cannot be the arbiter
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.