func RandomPeer(peers []PeerInfo) PeerInfo {
	rand.Shuffle(len(peers), func(i, j int) {
		peers[i], peers[j] = peers[j], peers[i]
	})
	return peers[0]
}
// RandomPeer returns a random peer from the list of peers provided
RandomPeer returns a random peer from the list of peers provided
// RandomPeer returns a random peer from the list of peers provided
func RandomPeer(peers []PeerInfo) PeerInfo {
	rand.Shuffle(len(peers), func(i, j int) {
		peers[i], peers[j] = peers[j], peers[i]
	})
	return peers[0]
}
func RandomPeer ( peers [ ] PeerInfo ) PeerInfo { rand . Shuffle ( len ( peers ) , func ( i , j int ) { peers [ i ] , peers [ j ] = peers [ j ] , peers [ i ] } ) return peers [ 0 ] }
RandomPeer returns a random peer from the list of peers provided
RandomPeer returns a random peer from the list of peers provided