mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +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
|
package server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"time"
|
||||||
|
|
||||||
"github.com/ethereum/go-ethereum/internal/cli/flagset"
|
"github.com/ethereum/go-ethereum/internal/cli/flagset"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -171,7 +173,7 @@ func (c *Command) Flags(config *Config) *flagset.Flagset {
|
||||||
Name: "bor.heimdalltimeout",
|
Name: "bor.heimdalltimeout",
|
||||||
Usage: "Timeout of Heimdall service",
|
Usage: "Timeout of Heimdall service",
|
||||||
Value: &c.cliConfig.Heimdall.Timeout,
|
Value: &c.cliConfig.Heimdall.Timeout,
|
||||||
Default: c.cliConfig.Heimdall.Timeout,
|
Default: 5 * time.Second,
|
||||||
})
|
})
|
||||||
f.BoolFlag(&flagset.BoolFlag{
|
f.BoolFlag(&flagset.BoolFlag{
|
||||||
Name: "bor.withoutheimdall",
|
Name: "bor.withoutheimdall",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue