fixed --internalcl flag for gnosis (#8387)

little thing i forgot to fix up.
This commit is contained in:
Giulio rebuffo 2023-10-05 22:48:06 +02:00 committed by GitHub
parent 12566dda73
commit 0eed8e35dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1640,7 +1640,7 @@ func SetEthConfig(ctx *cli.Context, nodeConfig *nodecfg.Config, cfg *ethconfig.C
cfg.TxPool.OverrideCancunTime = cfg.OverrideCancunTime
}
if ctx.IsSet(InternalConsensusFlag.Name) && clparams.EmbeddedEnabledByDefault(cfg.NetworkID) {
if ctx.IsSet(InternalConsensusFlag.Name) && clparams.EmbeddedSupported(cfg.NetworkID) {
cfg.InternalCL = ctx.Bool(InternalConsensusFlag.Name)
}