Begin updating tests to reflect changes to bitfield

This commit is contained in:
Alex Stokes
2018-11-15 09:20:46 -08:00
committed by mjkeating
parent b1f8046563
commit f611602235
5 changed files with 9 additions and 11 deletions

View File

@@ -128,7 +128,7 @@ mod tests {
all_keypairs.append(&mut non_signing_keypairs.clone());
let attestation_indices: Vec<usize> = (0..all_keypairs.len()).collect();
let mut bitfield = Bitfield::new();
let mut bitfield = Bitfield::from_elem(all_keypairs.len(), false);
for i in 0..signing_keypairs.len() {
bitfield.set(i, true).unwrap();
}