40,000 USDC
View results
Submission Details
Severity: gas

Constructor of Escrow.sol could be marked payable to save gas

Summary

Constructors could be marked payable.

Vulnerability Details

The compiler does not have to add extra checks to ensure that a payment wasn't provided.Hence payable constructors are cheaper.

Impact

None

Tools Used

Manual review

Recommendations

Declare the constructor of Escrow.sol as payable

Support

FAQs

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