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::collections::HashMap;
|
||||||
use std::sync::RwLockReadGuard;
|
use types::Hash256;
|
||||||
use types::{BeaconBlock, BeaconState, Hash256};
|
|
||||||
|
|
||||||
pub struct AttestationTargets {
|
pub struct AttestationTargets {
|
||||||
map: HashMap<u64, Hash256>,
|
map: HashMap<u64, Hash256>,
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
use crate::{BeaconChain, CheckPoint, ClientDB, SlotClock};
|
|
||||||
use std::collections::HashSet;
|
use std::collections::HashSet;
|
||||||
use std::sync::{RwLock, RwLockReadGuard};
|
use std::sync::{RwLock, RwLockReadGuard};
|
||||||
use types::{BeaconBlock, BeaconState, Hash256};
|
use types::Hash256;
|
||||||
|
|
||||||
pub struct BlockGraph {
|
pub struct BlockGraph {
|
||||||
pub leaves: RwLock<HashSet<Hash256>>,
|
pub leaves: RwLock<HashSet<Hash256>>,
|
||||||
|
@ -33,7 +33,6 @@ pub enum Error {
|
|||||||
SlotClockError,
|
SlotClockError,
|
||||||
SlotUnknowable,
|
SlotUnknowable,
|
||||||
EpochMapPoisoned,
|
EpochMapPoisoned,
|
||||||
SlotClockPoisoned,
|
|
||||||
EpochLengthIsZero,
|
EpochLengthIsZero,
|
||||||
BeaconNodeError(BeaconNodeError),
|
BeaconNodeError(BeaconNodeError),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user