Fix unused dep warning
This commit is contained in:
parent
362b7b2513
commit
3188d32423
@ -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;
|
||||||
|
@ -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.
|
||||||
*/
|
*/
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user