Skip to content

Commit bd5b55e

Browse files
authored
cmd/utils: add the missing check for the HoodiFlag in blsync (#32179)
Hoodi network flag should be exclusive to other network flags for both blysnc standalone and integrated mode.
1 parent e6b9d0c commit bd5b55e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/utils/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1859,7 +1859,7 @@ func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *ethconfig.Config) {
18591859
func MakeBeaconLightConfig(ctx *cli.Context) bparams.ClientConfig {
18601860
var config bparams.ClientConfig
18611861
customConfig := ctx.IsSet(BeaconConfigFlag.Name)
1862-
flags.CheckExclusive(ctx, MainnetFlag, SepoliaFlag, HoleskyFlag, BeaconConfigFlag)
1862+
flags.CheckExclusive(ctx, MainnetFlag, SepoliaFlag, HoleskyFlag, HoodiFlag, BeaconConfigFlag)
18631863
switch {
18641864
case ctx.Bool(MainnetFlag.Name):
18651865
config.ChainConfig = *bparams.MainnetLightConfig

node/rpcstack.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func (h *httpServer) start() error {
171171
}
172172
// Log http endpoint.
173173
h.log.Info("HTTP server started",
174-
"endpoint", listener.Addr(), "auth", (h.httpConfig.jwtSecret != nil),
174+
"endpoint", listener.Addr(), "auth", h.httpConfig.jwtSecret != nil,
175175
"prefix", h.httpConfig.prefix,
176176
"cors", strings.Join(h.httpConfig.CorsAllowedOrigins, ","),
177177
"vhosts", strings.Join(h.httpConfig.Vhosts, ","),

0 commit comments

Comments
 (0)