From 126d07cfb396fc329db2c644eca6679db2355dbb Mon Sep 17 00:00:00 2001 From: Dankrad Feist Date: Mon, 28 Dec 2020 16:03:20 +0000 Subject: [PATCH] MAX_COMMITTEE_SIZE -> MAX_VALIDATORS_PER_COMMITTEE --- specs/phase1/beacon-chain.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/phase1/beacon-chain.md b/specs/phase1/beacon-chain.md index f0a6e1209..d33304108 100644 --- a/specs/phase1/beacon-chain.md +++ b/specs/phase1/beacon-chain.md @@ -513,7 +513,7 @@ def process_shard_header(state: BeaconState, shard=header.shard, commitment=header.commitment, root=header_root, - votes=Bitlist[MAX_COMMITTEE_SIZE]([0] * committee_length), + votes=Bitlist[MAX_VALIDATORS_PER_COMMITTEE]([0] * committee_length), confirmed=False )) ``` @@ -655,7 +655,7 @@ def reset_pending_headers(state: BeaconState): shard=shard, commitment=DataCommitment(), root=Root(), - votes=Bitlist[MAX_COMMITTEE_SIZE]([0] * committee_length), + votes=Bitlist[MAX_VALIDATORS_PER_COMMITTEE]([0] * committee_length), confirmed=False ))