Update docs for BeforeBestBlockBy (#5849)

This commit is contained in:
Joshy Orndorff authored and GitHub committed 2020-04-30 16:07:25 +01:00
1 parent b301451c85
commit 313288208d
1 file changed
+2 -1
@@ -68,7 +68,8 @@ impl<Block, B> VotingRule<Block, B> for () where
}
/// A custom voting rule that guarantees that our vote is always behind the best
/// block, in the best case exactly one block behind it.
/// block by at least N blocks. In the best case our vote is exactly N blocks
/// behind the best block.
#[derive(Clone)]
pub struct BeforeBestBlockBy<N>(N);
impl<Block, B> VotingRule<Block, B> for BeforeBestBlockBy<NumberFor<Block>> where