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

getNextTokenId is not used

Summary

In the RamNFT contract, there is a function getNextTokenId. This is never used as the tokenCounter is public and that is used instead in the other contracts.

Vulnerability Details

There is no vulnerability as such, as this function is not even used, as the tokenCounter variable itself is public and this is used instead

Impact

No direct impact, just a bit confusing.

Tools Used

Recommendations

Remove the function

Updates

Lead Judging Commences

bube Lead Judge about 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.