Skip to content

Commit 8935353

Browse files
committed
cargo fmt
1 parent 47d1ce6 commit 8935353

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

core/src/banking_simulation.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,13 @@ impl BankingSimulator {
775775
});
776776
let banking_tracer_channels = if let Some(pool) = unified_scheduler_pool {
777777
let channels = retracer.create_channels_for_scheduler_pool(&pool);
778-
ensure_banking_stage_setup(&pool, &bank_forks, &channels, &cluster_info_for_banking, &poh_recorder);
778+
ensure_banking_stage_setup(
779+
&pool,
780+
&bank_forks,
781+
&channels,
782+
&cluster_info_for_banking,
783+
&poh_recorder,
784+
);
779785
channels
780786
} else {
781787
retracer.create_channels(false)

local-cluster/tests/local_cluster.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5861,11 +5861,8 @@ fn test_randomly_mixed_block_production_methods_between_bootstrap_and_not() {
58615861
);
58625862

58635863
let num_nodes = BlockVerificationMethod::COUNT;
5864-
let mut config = ClusterConfig::new_with_equal_stakes(
5865-
num_nodes,
5866-
DEFAULT_MINT_LAMPORTS,
5867-
DEFAULT_NODE_STAKE,
5868-
);
5864+
let mut config =
5865+
ClusterConfig::new_with_equal_stakes(num_nodes, DEFAULT_MINT_LAMPORTS, DEFAULT_NODE_STAKE);
58695866

58705867
// Overwrite block_production_method with shuffled variants
58715868
let mut methods = BlockProductionMethod::iter().collect::<Vec<_>>();

0 commit comments

Comments
 (0)