From: Jeffrey Czyz Date: Thu, 18 Feb 2021 20:30:07 +0000 (-0800) Subject: f - Reduce Validate's visibility to pub(crate) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=71b5ccc9ce2cb4ae77c54e075c21e9eb231ceed9;p=rust-lightning f - Reduce Validate's visibility to pub(crate) --- diff --git a/lightning-block-sync/src/poll.rs b/lightning-block-sync/src/poll.rs index f0f5a0c8a..82398a4b3 100644 --- a/lightning-block-sync/src/poll.rs +++ b/lightning-block-sync/src/poll.rs @@ -35,7 +35,7 @@ pub enum ChainTip { } /// The `Validate` trait defines behavior for validating chain data. -pub trait Validate { +pub(crate) trait Validate { /// The validated data wrapper which can be dereferenced to obtain the validated data. type T: std::ops::Deref;