The function call :: TwentyOne.sol calculates the dealersHand with the parameter msg.sender. This function is to be called by the player and not the dealer considering the require statement require(````playersDeck[msg.sender].playersCards.length > 0,````"Game not started"````);. Using msg.sender as player parameter to calculate the dealerHand will always cause a reverting error when the function is called
The function always revert due to msg.sender being used in dealersHand
Manual Review
The dealer should definitely be a separate player
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.