Skip to content

Commit

Permalink
Merge pull request #561 from ethereum/eth1_data-clarification
Browse files Browse the repository at this point in the history
clarify minor eth1_data processing point
  • Loading branch information
djrtwo committed Feb 3, 2019
2 parents 04b37f2 + 650f4a2 commit 7298990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/core/0_beacon-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -1688,7 +1688,7 @@ Below are the processing steps that happen at every `block`.

#### Eth1 data

* If `block.eth1_data` equals `eth1_data_vote.eth1_data` for some `eth1_data_vote` in `state.eth1_data_votes`, set `eth1_data_vote.vote_count += 1`.
* If there exists an `eth1_data_vote` in `states.eth1_data_votes` for which `eth1_data_vote.eth1_data == block.eth1_data` (there will be at most one), set `eth1_data_vote.vote_count += 1`.
* Otherwise, append to `state.eth1_data_votes` a new `Eth1DataVote(eth1_data=block.eth1_data, vote_count=1)`.

#### Operations
Expand Down

0 comments on commit 7298990

Please sign in to comment.