p2p: small comment typo (#26850)

Update server.go
This commit is contained in:
panicalways
2023-03-10 11:45:49 +02:00
committed by GitHub
parent df02799543
commit 051493d9bf
+1 -1
View File
@@ -1057,7 +1057,7 @@ func (srv *Server) runPeer(p *Peer) {
// Broadcast peer drop to external subscribers. This needs to be
// after the send to delpeer so subscribers have a consistent view of
// the peer set (i.e. Server.Peers() doesn't include the peer when the
// event is received.
// event is received).
srv.peerFeed.Send(&PeerEvent{
Type: PeerEventTypeDrop,
Peer: p.ID(),