In the ThePredicter::makePrediction
function below, the if block code purpose is to ensures that predictions can only be made before the start of the match. However the calculation of the timestamp is complex and prone to errors. This gives opprtunity for malicious attackers to take advantage to predict after the game has elapsed
From the if block code
statement the block.timestamp
would always be greater than zero
(START_TIME + matchNumber * 68400 - 68400) at any time.
The ThePredicter::makePrediction
implementation gives opprtunity for malicious attackers to take advantage to predict after the game has elapsed. This gives the attacker leverage to amass maximium points and greater share of the reward
Manual Review
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.