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

pull/23129/head
Ahyun 3 years ago committed by GitHub
parent 61f4b5aa89
commit 4fcc93d922
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      p2p/server.go

@ -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)
}

Loading…
Cancel
Save