The Escrow contract can be initialized with the same buyer, seller and arbiter.
The Escrow contract can be initialized with the same buyer, seller and arbiter.
This can lead to the buyer be the arbiter, or the seller be the aribter, and just any combination.
If the contract gets created with such values as a genuine mistake, then the whole contract will need to be recreated, and there might be fund losses too.
There is a chance that they might not even notice it, until its payment time, and the payment goes to the wrong account.
Manual Code Review
Add a check that buyer
, seller
and arbiter
are not the same in the constructor.
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.