mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 10:07:56 +00:00
expose grandpa BeforeBestBlockBy voting rule (#11798)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user