diff --git a/specs/phase1/beacon-chain.md b/specs/phase1/beacon-chain.md index b0640a0c9..5244dbe99 100644 --- a/specs/phase1/beacon-chain.md +++ b/specs/phase1/beacon-chain.md @@ -567,10 +567,10 @@ def process_pending_headers(state: BeaconState): c for c in state.previous_epoch_pending_shard_headers if (c.slot, c.shard) == (slot, shard) ] + # The entire committee (and its balance) + full_committee = get_beacon_committee(state, slot, shard) + full_committee_balance = get_total_balance(state, full_committee) if True not in [c.confirmed for c in candidates]: - # The entire committee (and its balance) - full_committee = get_beacon_committee(state, slot, shard) - full_committee_balance = get_total_balance(state, full_committee) # The set of voters who voted for each header # (and their total balances) voting_sets = [