We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e156ecc commit 5e7562dCopy full SHA for 5e7562d
1 file changed
primitives/block/src/tendermint.rs
@@ -18,11 +18,6 @@ pub struct TendermintProof {
18
}
19
20
impl TendermintProof {
21
- /// This simply returns the number of slots that voted (precommitted) to this block.
22
- pub fn votes(&self) -> u16 {
23
- self.sig.signers.len() as u16
24
- }
25
-
26
/// Verifies the proof. This only checks that the proof is valid for this block, not that the
27
/// block itself is valid.
28
pub fn verify(block: &MacroBlock, current_validators: &Validators) -> bool {
0 commit comments