The setCountry() function should validate that all team names are non-empty strings before populating the teams array, ensuring users can only bet on properly named teams.
The setCountry() function lacks validation to prevent empty strings from being set as team names. While this doesn't break core withdrawal logic (empty strings are handled correctly by keccak256 comparison), it creates poor user experience and potential confusion.
Likelihood:
Occurs when owner accidentally or maliciously sets empty strings during tournament setup
More likely with manual configuration or integration errors
Impact:
Users see empty team names in UI/events, causing confusion
CountriesSet event emits empty strings, making off-chain tracking difficult
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.