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…
Reference in New Issue