Skip to content

Commit

Permalink
checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jbiseda committed Mar 1, 2022
1 parent fc57f3d commit e558d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/benches/cluster_nodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ fn get_retransmit_peers_compat_wrapper(b: &mut Bencher, unstaked_ratio: Option<(
let mut rng = rand::thread_rng();
let (nodes, cluster_nodes) = make_cluster_nodes(&mut rng, unstaked_ratio);
let slot_leader = nodes[1..].choose(&mut rng).unwrap().id;
let signatures: Vec<_> = std::iter::repeat_with(|| Signature::new_unique())
let signatures: Vec<_> = std::iter::repeat_with(Signature::new_unique)
.take(NUM_SIMULATED_SHREDS)
.collect();
b.iter(|| get_retransmit_peers_compat(&cluster_nodes, &slot_leader, &signatures));
Expand Down

0 comments on commit e558d27

Please sign in to comment.