Make DiscoveryV5 follow node config.

This commit is contained in:
Igor Mandrigin 2018-03-08 15:56:37 +01:00 committed by Dmitry Shulyak
parent cfb3e6a080
commit aabbcbe522
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ func defaultEmbeddedNodeConfig(config *params.NodeConfig) *node.Config {
Version: config.Version,
P2P: p2p.Config{
NoDiscovery: !config.Discovery,
DiscoveryV5: true,
DiscoveryV5: config.Discovery,
BootstrapNodes: nil,
BootstrapNodesV5: nil,
ListenAddr: config.ListenAddr,