func (ch *Channel) updatePeer(p *Peer) {
	ch.peers.onPeerChange(p)
	ch.subChannels.updatePeer(p)
	p.callOnUpdateComplete()
}
func (ch *Channel) updatePeer(p *Peer) {
	ch.peers.onPeerChange(p)
	ch.subChannels.updatePeer(p)
	p.callOnUpdateComplete()
}
func ( ch * Channel ) updatePeer ( p * Peer ) { ch . peers . onPeerChange ( p ) ch . subChannels . updatePeer ( p ) p . callOnUpdateComplete ( ) }
// updatePeer updates the score of the peer and update it's position in heap as well.
updatePeer updates the score of the peer and update it s position in heap as well .