40,000 USDC
View results
Submission Details
Severity: gas

Saving buyerAward in dispute

Summary

After a dispute gets resolved, buyerAward will totally be lost.

Vulnerability Details

In Escrow::resolveDispute() function, there is no saving for buyerAward and even is not emitted with that value.

Impact

It will be difficult to fetch buyer awards for future use.

Tools Used

Manual

Recommendations

It would be ideal to save buyerAward as a contract member variable.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.