mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-17 21:16:52 +00:00
Update specs/core/0_beacon-chain.md
Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
parent
3d8e0f1920
commit
ec20edb80e
@ -1824,7 +1824,7 @@ Verify that `len(block.body.transfers) <= MAX_TRANSFERS` and that all transfers
|
|||||||
For each `transfer` in `block.body.transfers`, run the following function:
|
For each `transfer` in `block.body.transfers`, run the following function:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
def process_exit(transfer: Transfer, state: BeaconState):
|
def process_exit(state: BeaconState,transfer: Transfer) -> None:
|
||||||
# Verify that we have enough ETH to send, and that after the transfer the balance will be either
|
# Verify that we have enough ETH to send, and that after the transfer the balance will be either
|
||||||
# exactly zero or at least MIN_DEPOSIT_AMOUNT
|
# exactly zero or at least MIN_DEPOSIT_AMOUNT
|
||||||
assert (
|
assert (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user