Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: medium
Invalid

Wrong logic introduces an undesirable access control constraint

Summary

Wrong logic in MondrainWallet::requireFromEntryPointOrOwner modifier introduces an undesirable access control constraint, reference.

Tools Used

Manual review.

Recommendations

Change the code to:

+ if (msg.sender != address(i_entryPoint) || msg.sender != owner()) {
- if (msg.sender != address(i_entryPoint) && msg.sender != owner()) {
Updates

Lead Judging Commences

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

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