fix test imports
This commit is contained in:
parent
5060370c70
commit
6ad0a0baaa
@ -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;
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user