chore: cargo fmt

This commit is contained in:
Alexander Meißner
2021-06-18 15:34:58 +02:00
committed by Michael Vines
parent 6514096a67
commit 789f33e8db
11 changed files with 24 additions and 83 deletions

View File

@ -275,13 +275,7 @@ impl CrdsGossipPush {
let need = Self::compute_need(self.num_active, self.active_set.len(), ratio);
let mut new_items = HashMap::new();
let (weights, peers): (Vec<_>, Vec<_>) = self
.push_options(
crds,
self_id,
self_shred_version,
stakes,
gossip_validators,
)
.push_options(crds, self_id, self_shred_version, stakes, gossip_validators)
.into_iter()
.unzip();
if peers.is_empty() {