mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 15:35:11 -05:00
MAX_COMMITTEE_SIZE -> MAX_VALIDATORS_PER_COMMITTEE
This commit is contained in:
committed by
protolambda
parent
6e249e8932
commit
126d07cfb3
@@ -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
|
||||
))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user