The onlyNftOwner
modifier is applied twice in the divideNft
function, which results in unnecessary repetition and does not provide any additional functionality. This redundancy can lead to confusion and code maintenance issues.
The onlyNftOwner
modifier should only be applied once in the function signature. The modifier checks if the caller is the owner of the specified NFT and prevents unauthorized access. Applying it multiple times does not enhance security or functionality and is unnecessary.
The modifier onlyNftOwner
is applied twice in the function signature. This is redundant and can lead to confusion for developers working with the codebase.
manual review
Remove the duplicate application of the onlyNftOwner
modifier in the function definition.
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.