Use DiscoveryV5 as a source of peers

This commit is contained in:
Jan K 2024-04-15 10:01:29 +02:00
parent 3705acd1a9
commit c8d87615d3
No known key found for this signature in database
GPG key ID: 51FD5419412D35E2

View file

@ -579,6 +579,7 @@ func (srv *Server) setupDiscovery() error {
if err != nil { if err != nil {
return err return err
} }
srv.discmix.AddSource(srv.DiscV5.RandomNodes())
} }
// Add protocol-specific discovery sources. // Add protocol-specific discovery sources.