mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-01 05:14:49 +00:00
MAX_COMMITTEE_SIZE -> MAX_VALIDATORS_PER_COMMITTEE
This commit is contained in:
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
|
||||
))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user