|
41 | 41 | },
|
42 | 42 | solana_sdk::{
|
43 | 43 | client::SyncClient, clock::Slot, commitment_config::CommitmentConfig,
|
44 |
| - epoch_schedule::MINIMUM_SLOTS_PER_EPOCH, hash::Hash, |
| 44 | + epoch_schedule::MINIMUM_SLOTS_PER_EPOCH, |
45 | 45 | },
|
46 | 46 | solana_streamer::socket::SocketAddrSpace,
|
47 | 47 | std::{
|
@@ -196,7 +196,7 @@ fn setup_snapshot_validator_config(
|
196 | 196 |
|
197 | 197 | // Create the validator config
|
198 | 198 | let validator_config = ValidatorConfig {
|
199 |
| - snapshot_config: snapshot_config, |
| 199 | + snapshot_config, |
200 | 200 | account_paths: account_storage_paths,
|
201 | 201 | accounts_hash_interval_slots: snapshot_interval_slots,
|
202 | 202 | geyser_plugin_config_files,
|
@@ -224,8 +224,8 @@ fn test_local_cluster_start_and_exit_with_config(socket_addr_space: SocketAddrSp
|
224 | 224 | node_stakes: vec![3; NUM_NODES],
|
225 | 225 | cluster_lamports: 100,
|
226 | 226 | ticks_per_slot: 8,
|
227 |
| - slots_per_epoch: MINIMUM_SLOTS_PER_EPOCH as u64, |
228 |
| - stakers_slot_offset: MINIMUM_SLOTS_PER_EPOCH as u64, |
| 227 | + slots_per_epoch: MINIMUM_SLOTS_PER_EPOCH, |
| 228 | + stakers_slot_offset: MINIMUM_SLOTS_PER_EPOCH, |
229 | 229 | ..ClusterConfig::default()
|
230 | 230 | };
|
231 | 231 | let cluster = LocalCluster::new(&mut config, socket_addr_space);
|
|
0 commit comments