allow sending funds to the address(0) during the distribution of the funds in _distribute()
function
the function distribute()
take an array of winners
as an input ,
and this function call the internal function _distribute()
and pass the arrays of winners
and percentages
as parameters
in the function _distribute
there is no check for the validation of the address of the winners and this function does not prevent sending tokens to the zero address , the absent of this check may lead to the funds to be locked forever .
the funds that are sent to the zero address will be locked forever .
manual review
add a check for the winners array inside the for loop to prevent passing the zero address as a winner.
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.