In createGameWithToken() and joinGameWithToken(), the return value of the transferFrom() function is ignored. Although most ERC-20 tokens revert on failure, ignoring the returned bool may cause the function to proceed even if the token transfer fails silently (in the case of non-standard ERC-20 implementations).
This breaks the checks-effects-interactions pattern and may leave the contract in an inconsistent state or open to user error.
Always check the return value of transferFrom():
createGameWithToken and joinGameWithToken functions will revert because they attempt transferFrom without requiring the user to first approve
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.