From c9fd6b8e6589da69c5bfa372a08adeb8874bb5b6 Mon Sep 17 00:00:00 2001 From: Andronik Date: Fri, 8 Jul 2022 14:27:58 +0200 Subject: [PATCH] expose grandpa BeforeBestBlockBy voting rule (#11798) --- substrate/client/finality-grandpa/src/voting_rule.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/client/finality-grandpa/src/voting_rule.rs b/substrate/client/finality-grandpa/src/voting_rule.rs index 209b0f1b33..051c7f2c03 100644 --- a/substrate/client/finality-grandpa/src/voting_rule.rs +++ b/substrate/client/finality-grandpa/src/voting_rule.rs @@ -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); +pub struct BeforeBestBlockBy(pub N); impl VotingRule for BeforeBestBlockBy> where Block: BlockT,