mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-12 19:54:34 +00:00
Update specs/core/1_new_shards.md
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
This commit is contained in:
parent
bf13757722
commit
0ddc0ba527
@ -470,7 +470,7 @@ def misc_block_post_process(state: BeaconState, block: BeaconBlock) -> None:
|
|||||||
### Light client processing
|
### Light client processing
|
||||||
|
|
||||||
```python
|
```python
|
||||||
def process_light_client_signatures(state: BeaconState, block: BeaconBlock):
|
def process_light_client_signatures(state: BeaconState, block: BeaconBlock) -> None:
|
||||||
committee = get_light_client_committee(state, get_current_epoch(state))
|
committee = get_light_client_committee(state, get_current_epoch(state))
|
||||||
assert len(block.light_client_signature_bitfield) == len(committee)
|
assert len(block.light_client_signature_bitfield) == len(committee)
|
||||||
tot_reward = 0
|
tot_reward = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user