function getNaughtyOrNiceOnce(address person) external view returns (Status) {
return s_theListCheckedOnce[person];
}
the function returns the status of an already set address , but in cases of an address that hasnt been set it will return Nice , the default value of the status
it makes the contract vulnerable to hijackers
manual review
the default should be changes and checked for
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.