The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: low
Invalid

unnecessary function defining

Summary

Vulnerability Details:

This function only performs a simple comparison and is only called in one another function. Therefore, in order to consume less gas, this entire function can be removed and the same line of code can be added in the caller function.

Impact

It effects how much gas spend by caller function

Tools Used

Recommendations:

delete this function and add needed line to caller function

Updates

Lead Judging Commences

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

informational/invalid

Support

FAQs

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