Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

No Zero address check on setThePredicter() in ScoreBoard.sol

Summary

Vulnerability Details

The setThePredicter() function in ScoreBoard.sol lacks a check for a zero address, allowing the possibility of setting an invalid address as the predicter. This can lead to unintended consequences and potential vulnerabilities within the protocol.

Impact

Without a zero address check, an invalid address can be assigned as the predictor, leading to erroneous behavior in the protocol.

Tools Used

Manual

Recommendations

require(_thePredicter != address(0), "Invalid Address")

Updates

Lead Judging Commences

NightHawK Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.