Update specs/core/1_new_shards.md
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
This commit is contained in:
parent
0ddc0ba527
commit
822ceade58
|
@ -473,7 +473,7 @@ def misc_block_post_process(state: BeaconState, block: BeaconBlock) -> None:
|
||||||
def process_light_client_signatures(state: BeaconState, block: BeaconBlock) -> None:
|
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
|
total_reward = Gwei(0)
|
||||||
signer_keys = []
|
signer_keys = []
|
||||||
for i, bit in enumerate(block.light_client_signature_bitfield):
|
for i, bit in enumerate(block.light_client_signature_bitfield):
|
||||||
if bit:
|
if bit:
|
||||||
|
|
Loading…
Reference in New Issue