Redundant conditions are better to be used as modifier
Conditions/checks that are used more than once can be used as modifier.
Redundant conditions can be used as modifier for better access control.
Manual code review
Consider using a modifier to implement access control instead of inlining the condition/requirement in the function’s body.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.