Fix unused deps warnings
This commit is contained in:
parent
19417efa63
commit
9c86c07eea
@ -1,7 +1,6 @@
|
||||
use crate::{BeaconChain, CheckPoint, ClientDB, SlotClock};
|
||||
use crate::{BeaconChain, ClientDB, SlotClock};
|
||||
use std::collections::HashMap;
|
||||
use std::sync::RwLockReadGuard;
|
||||
use types::{BeaconBlock, BeaconState, Hash256};
|
||||
use types::Hash256;
|
||||
|
||||
pub struct AttestationTargets {
|
||||
map: HashMap<u64, Hash256>,
|
||||
|
@ -1,7 +1,6 @@
|
||||
use crate::{BeaconChain, CheckPoint, ClientDB, SlotClock};
|
||||
use std::collections::HashSet;
|
||||
use std::sync::{RwLock, RwLockReadGuard};
|
||||
use types::{BeaconBlock, BeaconState, Hash256};
|
||||
use types::Hash256;
|
||||
|
||||
pub struct BlockGraph {
|
||||
pub leaves: RwLock<HashSet<Hash256>>,
|
||||
|
@ -33,7 +33,6 @@ pub enum Error {
|
||||
SlotClockError,
|
||||
SlotUnknowable,
|
||||
EpochMapPoisoned,
|
||||
SlotClockPoisoned,
|
||||
EpochLengthIsZero,
|
||||
BeaconNodeError(BeaconNodeError),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user