Fix unused deps warnings

This commit is contained in:
Paul Hauner 2019-01-25 13:05:11 +11:00
parent 19417efa63
commit 9c86c07eea
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6
3 changed files with 3 additions and 6 deletions

View File

@ -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>,

View File

@ -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>>,

View File

@ -33,7 +33,6 @@ pub enum Error {
SlotClockError,
SlotUnknowable,
EpochMapPoisoned,
SlotClockPoisoned,
EpochLengthIsZero,
BeaconNodeError(BeaconNodeError),
}