code: func (r *PeerResolver) Resolve(peers []fab.Peer) (fab.Peer, error) {
  	preferredPeers := r.getPreferredPeers(r.minBlockHeightResolver.Filter(peers))
  	if len(preferredPeers) > 0 {
  		// At least one of our preferred peers is suitable. Use the default balancer to balance between them.
  		logger.Debugf("Choosing a peer from the list of preferred peers")
  		return r.loadBalancePolicy.Choose(preferredPeers)
  	}
  
  	logger.Debugf("There are no suitable peers from the list of preferred peers [%s] so choosing another peer using the 'prefer org' resolver", r.preferredPeers)
  	return r.preferOrgResolver.Resolve(peers)
  }
docs: // Resolve uses the MinBlockHeight resolver to choose peers but will prefer the ones in the list of preferred peers.