Beginner FriendlyDeFiFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

Laundrette:retrieveAdmin is unusable

Summary

Kernel::executeAction can be called only by the executor, which is the godfather, so every call to Laundrette:retriveAdmin will fail.

Recommendations

Make the onlyExecutor modifier check tx.origin instead of msg.sender.

Updates

Lead Judging Commences

n0kto Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Lack of quality
Assigned finding tags:

`retrieveAdmin` not working

Support

FAQs

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