Update 0_beacon-chain.md

This commit is contained in:
Justin 2019-07-25 19:32:56 +01:00 committed by GitHub
parent bd69dc7e3c
commit 3f75f1e2c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -1655,8 +1655,7 @@ def process_attestation(state: BeaconState, attestation: Attestation) -> None:
assert attestation_slot + MIN_ATTESTATION_INCLUSION_DELAY <= state.slot <= attestation_slot + SLOTS_PER_EPOCH
committee = get_crosslink_committee(state, data.target.epoch, data.crosslink.shard)
assert len(attestation.aggregation_bits) == len(committee)
assert len(attestation.custody_bits) == len(committee)
assert len(attestation.aggregation_bits) == len(attestation.custody_bits) == len(committee)
pending_attestation = PendingAttestation(
data=data,