Modifier are incorrectly being used twice
Currently in the sunrise
function we are returning by calling gm.
In the sunrise function we have 2 modifier, fundSafu
, and noOutFlow
these modifiers are also the again applied in the inner call of the function to gm
. This means that we are applying the same modifiers twice for no reason.
The current call of sunrise will cost more gas than needed because of the user of the same modifiers twice.
manual review
remove the modifiers in the sunrise
function as there are already presnet in gm
.
Invalid as per docs https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity
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.