Open code423n4 opened 2 years ago
Czar102
_atPhase internal function of LaunchEvent contains a revert statement that will never be triggered as the argument of the function is always one of the correct states, based on all uses.
_atPhase
LaunchEvent
} else { revert("LaunchEvent: unknown state"); }
Manual analysis
Delete the else statement as it is redundant.
else
Handle
Czar102
Vulnerability details
Impact
_atPhase
internal function ofLaunchEvent
contains a revert statement that will never be triggered as the argument of the function is always one of the correct states, based on all uses.Proof of Concept
Tools Used
Manual analysis
Recommended Mitigation Steps
Delete the
else
statement as it is redundant.