Skip to content

Commit ed87788

Browse files
nibharjsdanielh
authored andcommitted
Remove unused code
This code was replaced with a hardened version previously and should no longer be used and is thus now removed.
1 parent e156ecc commit ed87788

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

primitives/block/src/tendermint.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ pub struct TendermintProof {
1818
}
1919

2020
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-
2621
/// Verifies the proof. This only checks that the proof is valid for this block, not that the
2722
/// block itself is valid.
2823
pub fn verify(block: &MacroBlock, current_validators: &Validators) -> bool {

0 commit comments

Comments
 (0)