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

@@ -11,6 +11,8 @@ pub fn get_indexed_attestation<T: EthSpec>(
state: &BeaconState<T>,
attestation: &Attestation<T>,
) -> Result<IndexedAttestation<T>, Error> {
// Note: we rely on both calls to `get_attesting_indices` to check the bitfield lengths
// against the committee length
let attesting_indices =
get_attesting_indices(state, &attestation.data, &attestation.aggregation_bits)?;