Dussehra::withdraw
Function Will Always revert and Ram can't withdraw his rewardDescription:
As Mentioned Previously Dussehra::KillRaven
function has a vuln which leads to organiser
can get all protocol money. which makes Dussehra::withdraw
function useless and choosenRam
can't withdraw his reward.
Impact:
The chosen Ram is unable to withdraw his entitled reward due to the function always reverting. This defeats the purpose of the reward mechanism and leaves the reward funds inaccessible.
Proof of Concept:
Use the following PoC in Dussehra.t.sol
Recommended Mitigation:
Use Access Control which prevent calling killRavana
Multiple Times will solve the issue
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.