Skip to content

Commit

Permalink
p2p: add discv5 to the discmix to dial nodes with
Browse files Browse the repository at this point in the history
  • Loading branch information
mininny committed May 4, 2024
1 parent 8906795 commit f9e06db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions p2p/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,7 @@ func (srv *Server) setupDiscovery(ctx context.Context) error {
if err != nil {
return err
}
srv.discmix.AddSource(srv.DiscV5.RandomNodes())
}
return nil
}
Expand Down

0 comments on commit f9e06db

Please sign in to comment.