From aabbcbe5224b1d90be1b5b9caf22b4058868b7c4 Mon Sep 17 00:00:00 2001 From: Igor Mandrigin Date: Thu, 8 Mar 2018 15:56:37 +0100 Subject: [PATCH] Make DiscoveryV5 follow node config. --- geth/node/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geth/node/node.go b/geth/node/node.go index b2015977e..0ee064ebd 100644 --- a/geth/node/node.go +++ b/geth/node/node.go @@ -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,