Avoid initializing inherited contracts on the contract line. Instead, handle initialization in the constructor to maintain control and clarity.
The original code initializes Ownable
on the contract line using msg.sender
, which can lead to unintended behaviors. Moving this initialization to the constructor ensures consistent and clear handling of parameters.
Low
Manual Review
Move inherited contract initialization to the constructor. For example:
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.