Skip to content

Commit

Permalink
fix disabled_mask
Browse files Browse the repository at this point in the history
  • Loading branch information
ordian committed Oct 10, 2023
1 parent 827b117 commit 3b7fd1a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ impl StatementStore {
pub fn disabled_bitmask(&self, group: &[ValidatorIndex]) -> BitVec<u8, BitOrderLsb0> {
let group_size = group.len();
let mut mask = BitVec::repeat(false, group_size);
for i in group {
if self.is_disabled(i) {
mask.set(i.0 as usize, true);
for (i, v) in group.iter().enumerate() {
if self.is_disabled(v) {
mask.set(i, true);
}
}
mask
Expand Down

0 comments on commit 3b7fd1a

Please sign in to comment.