rand import moved

This commit is contained in:
Grant Wuerker 2018-11-11 13:17:42 -06:00
parent 20961c612a
commit 66ca299092

View File

@ -4,7 +4,6 @@ use super::{
DBError, DBError,
}; };
use super::POW_CHAIN_DB_COLUMN as DB_COLUMN; use super::POW_CHAIN_DB_COLUMN as DB_COLUMN;
extern crate rand;
pub struct PoWChainStore<T> pub struct PoWChainStore<T>
where T: ClientDB where T: ClientDB
@ -34,6 +33,8 @@ impl<T: ClientDB> PoWChainStore<T> {
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
extern crate rand;
use super::*; use super::*;
use super::super::super::MemoryDB; use super::super::super::MemoryDB;