The typical rule of black jack states that at the player's turn he/she can only draw one card at a time but here the function drawCard can be called multiple times without waiting for dealer's turn to choose their strategy
A malicious user can call the TwentyOne::drawCard
user multiple times.
=>Breakage of basic rule of Black Jack and also can increase gas cost becuase of increase in Interations from the `playersHand` value
Adding checks to the function, weather if its dealer's turn or player's turn, Preventing multiple calls to the game.
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.