In TwentyOne::call function, provided below, we see, that the last condition else -> Dealer's hand is higher, dealers winning hand, but in this case we might have situation, like dealerHand == playerHand, that it's not correct.
Player start game.
Player receives 2 cards, additionally may use hit (if necessary)
Player call call().
In the result it may happen that player's score playerHand is equal to dealer's score dealerhand.
But unfairly player lose money.
Logic of defining a winner is unfair for player in case of dealerHand = playerHand. But condition says, Dealer's hand is higher, dealers winning hand. The game might lose many users because of this.
Manual
There's recommendation to add a case to your TwentyOne::call function, if playerHand == dealerhand. In this case, player plays to a draw and should get his 1 ether back.
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.