mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-14 04:34:43 +00:00
Merge pull request #500 from paulhauner/patch-5
Fix field name error on eth1_data
This commit is contained in:
commit
cc1e80c84b
@ -1757,7 +1757,7 @@ Define the following helpers to process attestation inclusion rewards and inclus
|
||||
|
||||
If `next_epoch % ETH1_DATA_VOTING_PERIOD == 0`:
|
||||
|
||||
* If `eth1_data_vote.vote_count * 2 > ETH1_DATA_VOTING_PERIOD * EPOCH_LENGTH` for some `eth1_data_vote` in `state.eth1_data_votes` (ie. more than half the votes in this voting period were for that value), set `state.latest_eth1_data = eth1_data_vote.data`.
|
||||
* If `eth1_data_vote.vote_count * 2 > ETH1_DATA_VOTING_PERIOD * EPOCH_LENGTH` for some `eth1_data_vote` in `state.eth1_data_votes` (ie. more than half the votes in this voting period were for that value), set `state.latest_eth1_data = eth1_data_vote.eth1_data`.
|
||||
* Set `state.eth1_data_votes = []`.
|
||||
|
||||
#### Justification
|
||||
|
Loading…
x
Reference in New Issue
Block a user