mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
fixing default flag value
This commit is contained in:
parent
69ee62820f
commit
3154fc4e0e
1 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,8 @@
|
|||
package server
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/ethereum/go-ethereum/internal/cli/flagset"
|
||||
)
|
||||
|
||||
|
|
@ -171,7 +173,7 @@ func (c *Command) Flags(config *Config) *flagset.Flagset {
|
|||
Name: "bor.heimdalltimeout",
|
||||
Usage: "Timeout of Heimdall service",
|
||||
Value: &c.cliConfig.Heimdall.Timeout,
|
||||
Default: c.cliConfig.Heimdall.Timeout,
|
||||
Default: 5 * time.Second,
|
||||
})
|
||||
f.BoolFlag(&flagset.BoolFlag{
|
||||
Name: "bor.withoutheimdall",
|
||||
|
|
|
|||
Loading…
Reference in a new issue