func (ch *Channel) exchangeUpdated(c *Connection) {
	if c.remotePeerInfo.HostPort == "" {
		// Hostport is unknown until we get init resp.
		return
	}

	p, ok := ch.RootPeers().Get(c.remotePeerInfo.HostPort)
	if !ok {
		return
	}

	ch.updatePeer(p)
}
func (ch *Channel) exchangeUpdated(c *Connection) {
	if c.remotePeerInfo.HostPort == "" {
		
		return
	}

	p, ok := ch.RootPeers().Get(c.remotePeerInfo.HostPort)
	if !ok {
		return
	}

	ch.updatePeer(p)
}
func ( ch * Channel ) exchangeUpdated ( c * Connection ) { if c . remotePeerInfo . HostPort == " " { // Hostport is unknown until we get init resp. return } p , ok := ch . RootPeers ( ) . Get ( c . remotePeerInfo . HostPort ) if ! ok { return } ch . updatePeer ( p ) }
// exchangeUpdated updates the peer heap.
exchangeUpdated updates the peer heap .