Skip to content

Commit 4fcc93d

Browse files
authored
p2p/server: fix method name in comment (#23123)
1 parent 61f4b5a commit 4fcc93d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

p2p/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ func (srv *Server) RemoveTrustedPeer(node *enode.Node) {
370370
}
371371
}
372372

373-
// SubscribePeers subscribes the given channel to peer events
373+
// SubscribeEvents subscribes the given channel to peer events
374374
func (srv *Server) SubscribeEvents(ch chan *PeerEvent) event.Subscription {
375375
return srv.peerFeed.Subscribe(ch)
376376
}

0 commit comments

Comments
 (0)