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

Unnecessary modifier, results in more gas

Summary

Ravan can only be killed after Ram is selected, so we dont need additional RamIsSelected modifier for withdraw function.

Impact

Gas cost

Recommendations

- function withdraw() public RamIsSelected OnlyRam RavanKilled
+ function withdraw() public OnlyRam RavanKilled
Updates

Lead Judging Commences

bube Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Info/Gas/Invalid according to docs

Support

FAQs

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