fix test imports
This commit is contained in:
parent
5060370c70
commit
6ad0a0baaa
@ -504,8 +504,7 @@ impl Handler for OnDemand {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use on_demand::request;
|
||||
use net::{BasicContext, ReqId, Error as LesError};
|
||||
use net::{Announcement, BasicContext, ReqId, Error as LesError};
|
||||
use request::{Request as LesRequest, Kind as LesRequestKind};
|
||||
use network::{PeerId, NodeId};
|
||||
use futures::Future;
|
||||
|
@ -289,6 +289,8 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn check_state_proof() {
|
||||
use rlp::{RlpStream, Stream};
|
||||
|
||||
let mut root = H256::default();
|
||||
let mut db = MemoryDB::new();
|
||||
let mut header = Header::new();
|
||||
|
Loading…
Reference in New Issue
Block a user