diff --git a/core/connmgr/manager.go b/core/connmgr/manager.go index d756e4399f..c4d796b39a 100644 --- a/core/connmgr/manager.go +++ b/core/connmgr/manager.go @@ -34,7 +34,7 @@ type ConnManager interface { // TagPeer tags a peer with a string, associating a weight with the tag. TagPeer(peer.ID, string, int) - // Untag removes the tagged value from the peer. + // UntagPeer removes the tagged value from the peer. UntagPeer(p peer.ID, tag string) // UpsertTag updates an existing tag or inserts a new one. diff --git a/core/host/host.go b/core/host/host.go index 0a8dbe4b0c..ca0a7e00d9 100644 --- a/core/host/host.go +++ b/core/host/host.go @@ -28,10 +28,10 @@ type Host interface { // Peerstore returns the Host's repository of Peer Addresses and Keys. Peerstore() peerstore.Peerstore - // Returns the listen addresses of the Host + // Addrs returns the listen addresses of the Host Addrs() []ma.Multiaddr - // Networks returns the Network interface of the Host + // Network returns the Network interface of the Host Network() network.Network // Mux returns the Mux multiplexing incoming streams to protocol handlers