diff --git a/wakuv2/waku.go b/wakuv2/waku.go index 0b2ef8f91..d8109914a 100644 --- a/wakuv2/waku.go +++ b/wakuv2/waku.go @@ -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 {