The validation "nftAddress == address(0)" is not needed in function divideNft of TokenDivider.sol
function divideNft already has modifier onlyNftOwner which checks that "msg.sender != IERC721(nft).ownerOf(tokenId)".
In case of address(0) the modifier will not allow user to enter the function.
Hence the validation "nftAddress == address(0)" will not come into play.
Validation "nftAddress == address(0)" is redundant and doesnt come into play. It can be removed. This will reduce amount of code and save gas.
Manual Inspection.
Remove validation "nftAddress == address(0)" from function divideNft of TokenDivider.sol
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.