Description:
The emit event in Game::declareWinner
is set as below :
Impact:
The transaction log emitted by this event always has the pot data set to 0, so if we need to use the data for something else it will be always wrong.
Recommended Mitigation:
The function could be made like below :
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.