fix: peer exchange service is not required for clients
This commit is contained in:
parent
efb1036429
commit
32ac1c8d8e
|
@ -277,12 +277,6 @@ func New(nodeKey string, fleet string, cfg *Config, logger *zap.Logger, appDB *s
|
|||
}
|
||||
|
||||
opts = append(opts, node.WithDiscoveryV5(uint(cfg.UDPPort), bootnodes, cfg.AutoUpdate))
|
||||
|
||||
// Peer exchange requires DiscV5 to run (might change in future versions of the protocol)
|
||||
if cfg.PeerExchange {
|
||||
opts = append(opts, node.WithPeerExchange())
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if cfg.LightClient {
|
||||
|
|
Loading…
Reference in New Issue