mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-21 19:20:38 +00:00
Fix BootstrapNode flag
The default value was overriding the bootnodes of built-in networks with the mainnet bootnodes, regardless of the network configured via network flags (--pulsechain-testnet-v4). Removing this default allows mainnet and other networks to function without requiring the flag.
This commit is contained in:
parent
de93ae97b8
commit
0ec879e672
@ -6,7 +6,6 @@ import (
|
||||
"math"
|
||||
"strings"
|
||||
|
||||
"github.com/prysmaticlabs/prysm/v5/config/params"
|
||||
"github.com/urfave/cli/v2"
|
||||
"github.com/urfave/cli/v2/altsrc"
|
||||
)
|
||||
@ -100,7 +99,6 @@ var (
|
||||
BootstrapNode = &cli.StringSliceFlag{
|
||||
Name: "bootstrap-node",
|
||||
Usage: "The address of bootstrap node. Beacon node will connect for peer discovery via DHT. Multiple nodes can be passed by using the flag multiple times but not comma-separated. You can also pass YAML files containing multiple nodes.",
|
||||
Value: cli.NewStringSlice(params.BeaconNetworkConfig().BootstrapNodes...),
|
||||
}
|
||||
// RelayNode tells the beacon node which relay node to connect to.
|
||||
RelayNode = &cli.StringFlag{
|
||||
|
Loading…
Reference in New Issue
Block a user