diff --git a/cli/main.go b/cli/main.go index eaaa5b29..b02b5677 100644 --- a/cli/main.go +++ b/cli/main.go @@ -158,7 +158,7 @@ func setupGenesis(cmd *cli.Command) (string, uint64) { ) switch { - case cmd.Bool(customGenesisForkFlag.Name): + case cmd.IsSet(customGenesisForkFlag.Name): genesisForkVersion = cmd.String(customGenesisForkFlag.Name) case cmd.Bool(sepoliaFlag.Name): genesisForkVersion = genesisForkVersionSepolia