mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-17 13:06:34 +00:00
Add the prefix state
when accessing the latest deposit count (#961)
This commit is contained in:
parent
443786017f
commit
4bca7f984d
@ -2155,7 +2155,7 @@ def process_proposer_attestation_rewards(state: BeaconState) -> None:
|
||||
|
||||
##### Deposits
|
||||
|
||||
Verify that `len(block.body.deposits) == min(MAX_DEPOSITS, latest_eth1_data.deposit_count - state.deposit_index)`.
|
||||
Verify that `len(block.body.deposits) == min(MAX_DEPOSITS, state.latest_eth1_data.deposit_count - state.deposit_index)`.
|
||||
|
||||
For each `deposit` in `block.body.deposits`, run the following function:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user