Fix unused dep warning

This commit is contained in:
Paul Hauner 2018-09-26 11:36:07 +10:00
parent 362b7b2513
commit 3188d32423
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C
3 changed files with 1 additions and 4 deletions

View File

@ -23,7 +23,7 @@ mod config;
use std::path::PathBuf; use std::path::PathBuf;
use slog::{ Drain, Logger }; use slog::Drain;
use clap::{ Arg, App }; use clap::{ Arg, App };
use config::LighthouseConfig; use config::LighthouseConfig;
use client::Client; use client::Client;

View File

@ -65,8 +65,6 @@ pub fn validate_attestation<T>(a: &AttestationRecord,
-> Result<Option<HashSet<usize>>, AttestationValidationError> -> Result<Option<HashSet<usize>>, AttestationValidationError>
where T: ClientDB + Sized where T: ClientDB + Sized
{ {
// TODO: assert attestion isn't already known
/* /*
* The attesation slot must not be higher than the block that contained it. * The attesation slot must not be higher than the block that contained it.
*/ */

View File

@ -3,7 +3,6 @@ mod validate_ssz_block;
mod tests; mod tests;
use super::attestation_record; use super::attestation_record;
use super::Block;
use super::SszBlock; use super::SszBlock;
use super::db; use super::db;
use super::ssz; use super::ssz;