Filter repairman peers based on shred_version (#8069) (#8073)

automerge
This commit is contained in:
mergify[bot]
2020-01-31 15:29:30 -08:00
committed by GitHub
parent e23aec9728
commit b5098ac87c

View File

@ -135,7 +135,7 @@ impl ClusterInfoRepairListener {
}
let lowest_slot = blockstore.lowest_slot();
let peers = cluster_info.read().unwrap().gossip_peers();
let peers = cluster_info.read().unwrap().tvu_peers();
let mut peers_needing_repairs: HashMap<Pubkey, EpochSlots> = HashMap::new();
// Iterate through all the known nodes in the network, looking for ones that