mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
p2p: use nil filter for random nodes
This commit is contained in:
parent
fdf704aa01
commit
41353badcb
1 changed files with 1 additions and 1 deletions
|
|
@ -565,7 +565,7 @@ func (srv *Server) setupDiscovery() error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
srv.ntab = ntab
|
srv.ntab = ntab
|
||||||
srv.discmix.AddSource(ntab.RandomNodes())
|
srv.discmix.AddSource(ntab.RandomNodes(nil))
|
||||||
srv.staticNodeResolver = ntab
|
srv.staticNodeResolver = ntab
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue