Make DiscoveryV5 follow node config.
This commit is contained in:
parent
cfb3e6a080
commit
aabbcbe522
|
@ -92,7 +92,7 @@ func defaultEmbeddedNodeConfig(config *params.NodeConfig) *node.Config {
|
||||||
Version: config.Version,
|
Version: config.Version,
|
||||||
P2P: p2p.Config{
|
P2P: p2p.Config{
|
||||||
NoDiscovery: !config.Discovery,
|
NoDiscovery: !config.Discovery,
|
||||||
DiscoveryV5: true,
|
DiscoveryV5: config.Discovery,
|
||||||
BootstrapNodes: nil,
|
BootstrapNodes: nil,
|
||||||
BootstrapNodesV5: nil,
|
BootstrapNodesV5: nil,
|
||||||
ListenAddr: config.ListenAddr,
|
ListenAddr: config.ListenAddr,
|
||||||
|
|
Loading…
Reference in New Issue