diff --git a/lighthouse/main.rs b/lighthouse/main.rs index 0b678fa46..c90bcdaea 100644 --- a/lighthouse/main.rs +++ b/lighthouse/main.rs @@ -23,7 +23,7 @@ mod config; use std::path::PathBuf; -use slog::{ Drain, Logger }; +use slog::Drain; use clap::{ Arg, App }; use config::LighthouseConfig; use client::Client; diff --git a/lighthouse/state/attestation_record/validation/attestation_validation.rs b/lighthouse/state/attestation_record/validation/attestation_validation.rs index 24ffc291b..5070ebb44 100644 --- a/lighthouse/state/attestation_record/validation/attestation_validation.rs +++ b/lighthouse/state/attestation_record/validation/attestation_validation.rs @@ -65,8 +65,6 @@ pub fn validate_attestation(a: &AttestationRecord, -> Result>, AttestationValidationError> where T: ClientDB + Sized { - // TODO: assert attestion isn't already known - /* * The attesation slot must not be higher than the block that contained it. */ diff --git a/lighthouse/state/block/validation/mod.rs b/lighthouse/state/block/validation/mod.rs index 70c37e219..59aa3fc15 100644 --- a/lighthouse/state/block/validation/mod.rs +++ b/lighthouse/state/block/validation/mod.rs @@ -3,7 +3,6 @@ mod validate_ssz_block; mod tests; use super::attestation_record; -use super::Block; use super::SszBlock; use super::db; use super::ssz;