mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
p2p: add random nodes as discovery source in setupDiscovery
This commit is contained in:
parent
d103f179b9
commit
ec6cdc990d
1 changed files with 1 additions and 0 deletions
|
|
@ -492,6 +492,7 @@ func (srv *Server) setupDiscovery() error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
srv.discmix.AddSource(srv.discv5.RandomNodes())
|
||||
}
|
||||
|
||||
// Add protocol-specific discovery sources.
|
||||
|
|
|
|||
Loading…
Reference in a new issue