L86 to L90 of PuppyRaffle.sol
for (uint256 i = 0; i < players.length - 1; i++) { for (uint256 j = i + 1; j < players.length; j++) { require(players[i] != players[j], "PuppyRaffle: Duplicate player"); } }
The nested raffle in the reference above would cause a considerable amount of gas, especially when the array gets very long.
Consider using the if operation together with mappings to check for this duplicate.
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.