pr feedback

This commit is contained in:
Danny Ryan 2019-01-27 21:29:47 -07:00
parent 7b9c033578
commit c9a2f9258e
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 1 additions and 1 deletions

View File

@ -1689,7 +1689,7 @@ Define the following helpers to process attestation inclusion rewards and inclus
If `next_epoch % ETH1_DATA_VOTING_PERIOD == 0`: If `next_epoch % ETH1_DATA_VOTING_PERIOD == 0`:
* 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`. * 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`.
* Set `state.eth1_data_votes = []`. * Set `state.eth1_data_votes = []`.
### Justification ### Justification