makePrediction function don't check only the player can make prediciton.
Don't fit the business logic. The doc means only the player can play the game
makePrediction
allows the Players to pay the prediction fee and in the same time to set their prediction for the corresponding match.
The user directly call makePrediction
, don't need to deplosit entranceFee, which is the lost for the ThePredicter contract
Beyond 16 players, break the business logic
Manual
add modifer onlyPlayer, only the player can call makePrediction.
makePrediction has no access controls and any unapproved user can make predictions causing an incorrect calculation and distribution of rewards.
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.