The buyer sends more funds that what has been agreed upon with the seller when calling Escrow.initiateDispute()
and Escrow.resolveDispute()
.
When constructing an escrow
funds must have been sent to the contract. This is checked in the constructor
of the escrow
that the balance of the contract is not lower than the price
:
Then upon receipt of the report the buyer
calls confirmReceipt()
and sends the total balance of the contract to the seller instead of the i_price
of the escrow
.
Also, if there is a dispute, when the arbiter
calls resolveDispute()
again the total balance is transferred to the seller instead of the price.
Buyer sends more funds to the seller that what they should send.
Manual code review.
Change the following lines like this:
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.