mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-12 10:36:32 +00:00
add comment
This commit is contained in:
parent
3cf3e21504
commit
1db1c54323
@ -222,6 +222,7 @@ def process_operations(state: BeaconState, body: BeaconBlockBody) -> None:
|
||||
```python
|
||||
def process_execution_layer_exit(state: BeaconState, execution_layer_exit: ExecutionLayerExit) -> None:
|
||||
validator_pubkeys = [v.pubkey for v in state.validators]
|
||||
# Verify pubkey exists
|
||||
pubkey_to_exit = execution_layer_exit.validator_pubkey
|
||||
if pubkey_to_exit not in validator_pubkeys:
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user