The EggHuntGame::gameActive boolean is not correctly updated if EggHuntGame::endTime has passed. This may lead to ambiguity in game state for functions that include EggHuntGame::gameActive and timestamp - resulting in 'active' games that cannot be played.
The only way to update the EggHuntGame::gameActive state is for the Game Owner to call EggHuntGame::endGame - there is no automatic updating of state if the time is allowed to elapse. This may cause state inconsistency when calling functions that rely on both EggHuntGame::gameActive and the timestamp such as the EggHuntGame::searchForEgg function.
Low impact as it is unlikely that this will result in any loss of funds or break the protocol.
Manual review.
Adding a modifier to update the game state on functions that rely on EggHuntGame::gameActive and the timestamp such as the EggHuntGame::searchForEgg :
Incorrect values reported when a game is ended early
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.