sharding: remove outdated comment, timely shard attesters are marked in attestation-processing, no need for epoch processing additions

This commit is contained in:
protolambda 2021-07-31 13:22:26 +02:00
parent 91968de423
commit 322f072703
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
1 changed files with 0 additions and 1 deletions

View File

@ -853,7 +853,6 @@ def process_pending_shard_confirmations(state: BeaconState) -> None:
committee_work = state.shard_buffer[buffer_index][shard_index]
if committee_work.status.selector == SHARD_WORK_PENDING:
winning_header = max(committee_work.status.value, key=lambda header: header.weight)
# TODO In Altair: set participation bit flag of voters for winning header
if winning_header.attested.commitment == DataCommitment():
committee_work.status.change(selector=SHARD_WORK_UNCONFIRMED, value=None)
else: