Update 0_beacon-chain.md

This commit is contained in:
Justin 2019-03-10 13:50:28 +01:00 committed by GitHub
parent b7376aea5c
commit d425ea26e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2453,7 +2453,7 @@ Verify that `len(block.body.voluntary_exits) <= MAX_VOLUNTARY_EXITS`.
For each `exit` in `block.body.voluntary_exits`, run the following function: For each `exit` in `block.body.voluntary_exits`, run the following function:
```python ```python
def process_exit(state: BeaconState, exit: VoluntaryExit) -> None: def process_voluntary_exit(state: BeaconState, exit: VoluntaryExit) -> None:
""" """
Process ``VoluntaryExit`` transaction. Process ``VoluntaryExit`` transaction.
Note that this function mutates ``state``. Note that this function mutates ``state``.