The dealersHand function in the Solidity contract contains a logical flaw in how the dealer's hand total is calculated, specifically regarding the handling of Ace cards (represented by a 0 value). The current implementation does not correctly treat the Ace as either 1 or 11 based on the context of the hand. This oversight can lead to incorrect dealer hand totals and impact the fairness and integrity of the game.
Incorrect calculation of the dealer's total, affecting game outcomes.
Manual
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.