The check
inside gameActive == true
is indeed redundant
If gameActive == true
, the game should already be past its startTime
by definition
There's no scenario where gameActive
is true but block.timestamp < startTime
increases gas cost by introducing unnecessary checks
mannual review
The testGameStartAndEnd function still passes
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.