expose grandpa BeforeBestBlockBy voting rule (#11798)

This commit is contained in:
Andronik authored and GitHub committed 2022-07-08 12:27:58 +00:00
1 parent 27b538222e
commit c9fd6b8e65
1 file changed
+1 -1
@@ -89,7 +89,7 @@ where
/// can prioritize shorter chains over longer ones, the vote may be
/// closer to the best block than N.
#[derive(Clone)]
pub struct BeforeBestBlockBy<N>(N);
pub struct BeforeBestBlockBy<N>(pub N);
impl<Block, B> VotingRule<Block, B> for BeforeBestBlockBy<NumberFor<Block>>
where
Block: BlockT,