The divideNft
function redundantly applies the onlyNftOwner
modifier twice for the same parameters. This duplication serves no additional security purpose, as the modifier is already ensuring the sender is the owner of the specified nftAddress
and tokenId
. This results in unnecessary gas consumption and an inefficient implementation.
Each call to the onlyNftOwner
modifier introduces additional gas consumption.
Users calling this function will incur higher transaction costs.
Manual
Apply only single check in this function.
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.