The function changeHost does not check if _newHost is the same as the current host. This allows unnecessary state changes and event emissions, leading to wasted gas and potential confusion.
Wasted gas
Potential confusion for users
Manual review
Add a condition to ensure _newHost is different from the curent host
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.