Do not pass discovery option to p2p server as we are managing it now

This commit is contained in:
Dmitry 2018-07-05 19:16:54 +03:00 committed by Dmitry Shulyak
parent 737f966dbe
commit 40fa97ef33
1 changed files with 0 additions and 1 deletions

View File

@ -117,7 +117,6 @@ func defaultEmbeddedNodeConfig(config *params.NodeConfig) *node.Config {
Version: config.Version,
P2P: p2p.Config{
NoDiscovery: true, // we always use only v5 server
DiscoveryV5: !config.NoDiscovery,
ListenAddr: config.ListenAddr,
NAT: nat.Any(),
MaxPeers: config.MaxPeers,