Pieces Protocol

First Flight #32
Beginner FriendlyFoundrySolidityNFT
100 EXP
View results
Submission Details
Severity: low
Invalid

Redundant Modifier in the function `TokenDivider.sol::divideNft`

Summary

In the contract TokenDivider.sol , the function ` divideNft ` uses the modifier onlyNftOwner twice making it redundant and also gas inefficient.

Recommended Mitigation

Just don't use it twice.

Updates

Lead Judging Commences

fishy Lead Judge 7 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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