From 66ca29909282a3326bb6faeda4d5e706fd1f81b2 Mon Sep 17 00:00:00 2001 From: Grant Wuerker Date: Sun, 11 Nov 2018 13:17:42 -0600 Subject: [PATCH] rand import moved --- lighthouse/db/src/stores/pow_chain_store.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lighthouse/db/src/stores/pow_chain_store.rs b/lighthouse/db/src/stores/pow_chain_store.rs index f2f0f5df6..fab197288 100644 --- a/lighthouse/db/src/stores/pow_chain_store.rs +++ b/lighthouse/db/src/stores/pow_chain_store.rs @@ -4,7 +4,6 @@ use super::{ DBError, }; use super::POW_CHAIN_DB_COLUMN as DB_COLUMN; -extern crate rand; pub struct PoWChainStore where T: ClientDB @@ -34,6 +33,8 @@ impl PoWChainStore { #[cfg(test)] mod tests { + extern crate rand; + use super::*; use super::super::super::MemoryDB;