Do not pass discovery option to p2p server as we are managing it now
This commit is contained in:
parent
737f966dbe
commit
40fa97ef33
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue