Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mina86 committed Apr 17, 2024
1 parent e440bd9 commit a2bbe83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions light-client-verifier/src/operations/voting_power.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ impl NonAbsentCommitVotes {
.iter()
.enumerate()
.flat_map(|(idx, signature)| {
// We never have more than 2³¹ signatures so this always
// succeeds.
let idx = ValidatorIndex::try_from(idx).unwrap();
NonAbsentCommitVote::new(
signature,
Expand Down

0 comments on commit a2bbe83

Please sign in to comment.