Fix unused dep warning

This commit is contained in:
Paul Hauner
2018-09-26 11:38:12 +10:00
parent 362b7b2513
commit 3188d32423
3 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -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;
@@ -65,8 +65,6 @@ pub fn validate_attestation<T>(a: &AttestationRecord,
-> Result<Option<HashSet<usize>>, 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.
*/
-1
View File
@@ -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;