In the divideNft
function, the modifier onlyNftOwner(nftAddress, tokenId)
is applied twice:
This redundancy leads to the same ownership check being executed twice during function execution, which is unnecessary and inefficient.
The repetitive use of the modifier increases gas consumption for every execution of the function since the same logic is run twice.
Manual review
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.