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

The mapping ‘ownerToId’ is updated with a value different than that for mint.

Summary

Vulnerability Details

In the function ‘mintSoulmateToken’, this mapping is updated
with ‘nextID’, but in the mint function the id minted is ‘nextID++’.

Impact : The mapping ‘ownerToId’ and the token minted do not correspond

Tools Used

Foundry

Recommendations

Simply update those 2 values with the exact
same number.

Updates

Lead Judging Commences

0xnevi Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

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