function create() redundant checks
tghdev opened this issue · 2 comments
tghdev commented
The modifier whenNotClosed
applied to function create()
requires a Phase != AfterICO. Within the function the if
statement in Line 119 is therefore redundant, because it is always true
if the modifier doesn't throw. Hence, the else
statement in Line 151 will never be triggered.
ilejn commented
Phase can be altered by "adjustPhaseBasedOnTime" method.