add comment
This commit is contained in:
parent
3cf3e21504
commit
1db1c54323
|
@ -222,6 +222,7 @@ def process_operations(state: BeaconState, body: BeaconBlockBody) -> None:
|
||||||
```python
|
```python
|
||||||
def process_execution_layer_exit(state: BeaconState, execution_layer_exit: ExecutionLayerExit) -> None:
|
def process_execution_layer_exit(state: BeaconState, execution_layer_exit: ExecutionLayerExit) -> None:
|
||||||
validator_pubkeys = [v.pubkey for v in state.validators]
|
validator_pubkeys = [v.pubkey for v in state.validators]
|
||||||
|
# Verify pubkey exists
|
||||||
pubkey_to_exit = execution_layer_exit.validator_pubkey
|
pubkey_to_exit = execution_layer_exit.validator_pubkey
|
||||||
if pubkey_to_exit not in validator_pubkeys:
|
if pubkey_to_exit not in validator_pubkeys:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue