Unverified Commit 4fcc93d9 authored by Ahyun's avatar Ahyun Committed by GitHub

p2p/server: fix method name in comment (#23123)

parent 61f4b5aa
...@@ -370,7 +370,7 @@ func (srv *Server) RemoveTrustedPeer(node *enode.Node) { ...@@ -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 { func (srv *Server) SubscribeEvents(ch chan *PeerEvent) event.Subscription {
return srv.peerFeed.Subscribe(ch) return srv.peerFeed.Subscribe(ch)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment