minor nit fixed

This commit is contained in:
Lucca Martins 2025-02-26 03:06:01 -03:00
parent a7e3222023
commit 5f6e2d334c
No known key found for this signature in database
GPG key ID: DC3D7F76BDAE23BF

View file

@ -1,8 +1,6 @@
package server package server
import ( import (
"time"
"github.com/ethereum/go-ethereum/internal/cli/flagset" "github.com/ethereum/go-ethereum/internal/cli/flagset"
) )
@ -173,7 +171,7 @@ func (c *Command) Flags(config *Config) *flagset.Flagset {
Name: "bor.heimdalltimeout", Name: "bor.heimdalltimeout",
Usage: "Timeout period for bor's outgoing requests to heimdall", Usage: "Timeout period for bor's outgoing requests to heimdall",
Value: &c.cliConfig.Heimdall.Timeout, Value: &c.cliConfig.Heimdall.Timeout,
Default: 5 * time.Second, Default: c.cliConfig.Heimdall.Timeout,
}) })
f.BoolFlag(&flagset.BoolFlag{ f.BoolFlag(&flagset.BoolFlag{
Name: "bor.withoutheimdall", Name: "bor.withoutheimdall",