Skip to content

Commit

Permalink
p2p: small comment typo (ethereum#26850)
Browse files Browse the repository at this point in the history
Update server.go
  • Loading branch information
panicalways authored Mar 10, 2023
1 parent df02799 commit 051493d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 051493d

Please sign in to comment.