mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
Use DiscoveryV5 as a source of peers
This commit is contained in:
parent
3705acd1a9
commit
c8d87615d3
1 changed files with 1 additions and 0 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue