eggFindThreshold
can be equal to 0 because the setEggFindThreshold()
function allows such a value.
setEggFindThreshold()
source code:
With this function, the owner can set the eggFindThreshold
value to 0.
searchForEgg()
source code:
If eggFindThreshold
is 0, then no one will be able to find the egg.
If eggFindThreshold
is 0, users will lose the gas fee when calling the searchForEgg()
function.
Manual code review
Set the lower threshold for eggFindThreshold
in setEggFindThreshold()
function:
Owner is trusted and is not expected to interact in ways that would compromise security
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.