40,000 USDC
View results
Submission Details
Severity: medium

Buyer’s address not set to msg.sender

Escrow.sol
—There is no logic that ensures the buyer has the control to set the terms of the contract by having the authority to set state variables in the constructor . The buyer’s address needs to be set to the account that deploys the contract.
buyer = msg.sender

Support

FAQs

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