Description
In L::109 inside the TwentyOne::hit function, if the handBefore variable has a value greater than 21 then function will only revert, but the game is never ended eventhough the player would have lost already.
Impact
Since the TwentyOne::hit function only reverts if handBefore goes above 21, the user would need to make an extra call to TwentyOne::call function in order to terminate the game.
Recommended mitigation
Make the following code changes inside TwentyOne::hit
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.