Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit d871277

Browse files
author
Andronik
authored
expose grandpa BeforeBestBlockBy voting rule (#11798)
1 parent 6c5ac31 commit d871277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/finality-grandpa/src/voting_rule.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ where
8989
/// can prioritize shorter chains over longer ones, the vote may be
9090
/// closer to the best block than N.
9191
#[derive(Clone)]
92-
pub struct BeforeBestBlockBy<N>(N);
92+
pub struct BeforeBestBlockBy<N>(pub N);
9393
impl<Block, B> VotingRule<Block, B> for BeforeBestBlockBy<NumberFor<Block>>
9494
where
9595
Block: BlockT,

0 commit comments

Comments
 (0)