aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'p2p/server.go')
-rw-r--r--p2p/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/server.go b/p2p/server.go
index 649fbfb82..1e571abf1 100644
--- a/p2p/server.go
+++ b/p2p/server.go
@@ -748,7 +748,7 @@ type NodeInfo struct {
Protocols map[string]interface{} `json:"protocols"`
}
-// Info gathers and returns a collection of metadata known about the host.
+// NodeInfo gathers and returns a collection of metadata known about the host.
func (srv *Server) NodeInfo() *NodeInfo {
node := srv.Self()