fix test imports

This commit is contained in:
Robert Habermeier 2017-01-04 16:12:58 +01:00
parent 5060370c70
commit 6ad0a0baaa
2 changed files with 3 additions and 2 deletions

View File

@ -504,8 +504,7 @@ impl Handler for OnDemand {
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
use super::*; use super::*;
use on_demand::request; use net::{Announcement, BasicContext, ReqId, Error as LesError};
use net::{BasicContext, ReqId, Error as LesError};
use request::{Request as LesRequest, Kind as LesRequestKind}; use request::{Request as LesRequest, Kind as LesRequestKind};
use network::{PeerId, NodeId}; use network::{PeerId, NodeId};
use futures::Future; use futures::Future;

View File

@ -289,6 +289,8 @@ mod tests {
#[test] #[test]
fn check_state_proof() { fn check_state_proof() {
use rlp::{RlpStream, Stream};
let mut root = H256::default(); let mut root = H256::default();
let mut db = MemoryDB::new(); let mut db = MemoryDB::new();
let mut header = Header::new(); let mut header = Header::new();