Skip to content

Commit

Permalink
p2p/server: fix method name in comment (ethereum#23123)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucy-99 committed Jun 29, 2021
1 parent 61f4b5a commit 4fcc93d
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 @@ -370,7 +370,7 @@ func (srv *Server) RemoveTrustedPeer(node *enode.Node) {
}
}

// SubscribePeers subscribes the given channel to peer events
// SubscribeEvents subscribes the given channel to peer events
func (srv *Server) SubscribeEvents(ch chan *PeerEvent) event.Subscription {
return srv.peerFeed.Subscribe(ch)
}
Expand Down

0 comments on commit 4fcc93d

Please sign in to comment.