Update to spec v0.8.3

This commit is contained in:
Michael Sproul
2019-08-27 16:59:53 +10:00
parent 5a7903a377
commit 4d2cdc9492
5 changed files with 9 additions and 32 deletions

View File

@@ -17,11 +17,9 @@ pub fn get_attesting_indices<T: EthSpec>(
target_relative_epoch,
)?;
/* TODO(freeze): re-enable this?
if bitlist.len() > committee.committee.len() {
if bitlist.len() != committee.committee.len() {
return Err(BeaconStateError::InvalidBitfield);
}
*/
Ok(committee
.committee