The withdraw
function does not include logic for withdrawing Ether that has been sent to the contract through the receive()
function. As a result, any Ether deposited will remain locked in the contract with no way for the host to withdraw it.
A participant sends Ether to the contract.
The host calls the withdraw
function.
Ether remains locked in the contract, as there is no logic to handle its withdrawal.
Locked Ether funds reduce the utility of the contract, as the host cannot access them, leading to operational inefficiencies and user dissatisfaction.
Manual Review
Add Ether withdrawal logic in the withdraw
function, such as:
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.