Remove superfluous imports
This commit is contained in:
parent
f0843fc5f1
commit
c506423e70
|
@ -528,19 +528,11 @@ impl Service for Fullnode {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::cluster_info::Node;
|
||||
use crate::db_ledger::*;
|
||||
use crate::db_ledger::{create_tmp_sample_ledger, tmp_copy_ledger, DEFAULT_SLOT_HEIGHT};
|
||||
use crate::entry::make_consecutive_blobs;
|
||||
use crate::leader_scheduler::{make_active_set_entries, LeaderSchedulerConfig};
|
||||
use crate::service::Service;
|
||||
use crate::leader_scheduler::make_active_set_entries;
|
||||
use crate::streamer::responder;
|
||||
use crate::voting_keypair::VotingKeypair;
|
||||
use solana_sdk::hash::Hash;
|
||||
use solana_sdk::signature::{Keypair, KeypairUtil};
|
||||
use std::fs::remove_dir_all;
|
||||
use std::net::UdpSocket;
|
||||
use std::sync::mpsc::channel;
|
||||
use std::sync::Arc;
|
||||
|
||||
#[test]
|
||||
fn validator_exit() {
|
||||
|
|
|
@ -456,20 +456,10 @@ pub fn make_active_set_entries(
|
|||
#[cfg(test)]
|
||||
pub mod tests {
|
||||
use super::*;
|
||||
use crate::bank::Bank;
|
||||
use crate::genesis_block::{GenesisBlock, BOOTSTRAP_LEADER_TOKENS};
|
||||
use crate::leader_scheduler::{
|
||||
LeaderScheduler, LeaderSchedulerConfig, DEFAULT_SEED_ROTATION_INTERVAL,
|
||||
DEFAULT_TICKS_PER_SLOT,
|
||||
};
|
||||
use crate::voting_keypair::VotingKeypair;
|
||||
use hashbrown::HashSet;
|
||||
use solana_sdk::hash::Hash;
|
||||
use solana_sdk::pubkey::Pubkey;
|
||||
use solana_sdk::signature::{Keypair, KeypairUtil};
|
||||
use std::hash::Hash as StdHash;
|
||||
use std::iter::FromIterator;
|
||||
use std::sync::Arc;
|
||||
|
||||
fn to_hashset_owned<T>(slice: &[T]) -> HashSet<T>
|
||||
where
|
||||
|
|
Loading…
Reference in New Issue