We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61f4b5a commit 4fcc93dCopy full SHA for 4fcc93d
p2p/server.go
@@ -370,7 +370,7 @@ func (srv *Server) RemoveTrustedPeer(node *enode.Node) {
370
}
371
372
373
-// SubscribePeers subscribes the given channel to peer events
+// SubscribeEvents subscribes the given channel to peer events
374
func (srv *Server) SubscribeEvents(ch chan *PeerEvent) event.Subscription {
375
return srv.peerFeed.Subscribe(ch)
376
0 commit comments