From be93b03cc8737ecab244e0a46e3096fff7aaaa07 Mon Sep 17 00:00:00 2001 From: protolambda Date: Wed, 17 Mar 2021 22:41:35 +0100 Subject: [PATCH] pending_commitment.votes -> pending_header.votes --- specs/phase1/beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/phase1/beacon-chain.md b/specs/phase1/beacon-chain.md index 8c18c682d..8600fd6ae 100644 --- a/specs/phase1/beacon-chain.md +++ b/specs/phase1/beacon-chain.md @@ -489,7 +489,7 @@ def update_pending_votes(state: BeaconState, return # Requirement 2: >= 2/3 of balance attesting - participants = get_attesting_indices(state, attestation.data, pending_commitment.votes) + participants = get_attesting_indices(state, attestation.data, pending_header.votes) participants_balance = get_total_balance(state, participants) full_committee = get_beacon_committee(state, attestation.data.slot, attestation.data.index) full_committee_balance = get_total_balance(state, full_committee)