Make a module `pub(crate)` rather than `pub`

This commit is contained in:
teor 2020-11-26 12:17:20 +10:00
parent b6ce509363
commit 712dd9ddf3
1 changed files with 2 additions and 1 deletions

View File

@ -13,9 +13,10 @@ use crate::{PreparedBlock, ValidateContextError};
use super::check;
pub mod difficulty;
use difficulty::{AdjustedDifficulty, POW_MEDIAN_BLOCK_SPAN};
pub(crate) mod difficulty;
/// Check that `block` is contextually valid for `network`, based on the
/// `finalized_tip_height` and `relevant_chain`.
///