The function ThePredicter::setThePredicter
that sets the predicter, lacks a check for 0 address inputs.
The zero address commonly represents an uninitialized or invalid address in Ethereum.
Allowing the setting of a zero address as the predictor would effectively render any interactions with the predictor address impossible, leading to a loss of functionality within the contract.
Manual review
Consider adding a 'require' statement to check that the address is different from address(0). Here is the recommended modification:
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.