mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
cmd/utils: use eth.DefaultConfig for EthPeers and LightPeers
This commit is contained in:
parent
bc6dd8e3aa
commit
4933496fb2
1 changed files with 2 additions and 2 deletions
|
|
@ -174,7 +174,7 @@ var (
|
||||||
EthPeersFlag = cli.IntFlag{
|
EthPeersFlag = cli.IntFlag{
|
||||||
Name: "ethpeers",
|
Name: "ethpeers",
|
||||||
Usage: "Maximum number of ETH peers",
|
Usage: "Maximum number of ETH peers",
|
||||||
Value: 25,
|
Value: eth.DefaultConfig.EthPeers,
|
||||||
}
|
}
|
||||||
LightServFlag = cli.IntFlag{
|
LightServFlag = cli.IntFlag{
|
||||||
Name: "lightserv",
|
Name: "lightserv",
|
||||||
|
|
@ -184,7 +184,7 @@ var (
|
||||||
LightPeersFlag = cli.IntFlag{
|
LightPeersFlag = cli.IntFlag{
|
||||||
Name: "lightpeers",
|
Name: "lightpeers",
|
||||||
Usage: "Maximum number of LES client peers",
|
Usage: "Maximum number of LES client peers",
|
||||||
Value: 100,
|
Value: eth.DefaultConfig.LightPeers,
|
||||||
}
|
}
|
||||||
LightKDFFlag = cli.BoolFlag{
|
LightKDFFlag = cli.BoolFlag{
|
||||||
Name: "lightkdf",
|
Name: "lightkdf",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue