mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 08:52:54 +00:00
rand import moved
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user