40,000 USDC
View results
Submission Details
Severity: gas
Valid

QA - Escrow__FeeExceedsPrice incorrect naming

Summary

The error Escrow__FeeExceedsPrice is incorrectly named.

Vulnerability Details

Escrow.sol
43 if (arbiterFee >= price) revert Escrow__FeeExceedsPrice(price, arbiterFee);

The checks throw an error if the arbiterFee is greater or equal than the price. However, If the arbiterFee is equal to price (arbiterFee = price), then the naming of the error thrown is incorrect since it does not exceed price.

Impact

QA

Tools Used

Manual review

Recommend Mitigation

Rename the error to Escrow_FeeEqualsOrExceedsPrice

Support

FAQs

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