mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-17 21:16:52 +00:00
Update specs/core/1_new_shards.md
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
This commit is contained in:
parent
bcd06d88ef
commit
9d3a230974
@ -404,7 +404,7 @@ def process_attestations(state: BeaconState, block: BeaconBlock, attestations: S
|
|||||||
pending_attestations = []
|
pending_attestations = []
|
||||||
# Basic validation
|
# Basic validation
|
||||||
for attestation in attestations:
|
for attestation in attestations:
|
||||||
assert validate_attestation(state, attestation)
|
validate_attestation(state, attestation)
|
||||||
# Process crosslinks
|
# Process crosslinks
|
||||||
online_indices = get_online_indices(state)
|
online_indices = get_online_indices(state)
|
||||||
winners = set()
|
winners = set()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user