Skip to content

Commit

Permalink
Update specs/core/0_beacon-chain.md
Browse files Browse the repository at this point in the history
Co-Authored-By: JustinDrake <[email protected]>
  • Loading branch information
hwwhww and JustinDrake authored Mar 12, 2019
1 parent 64ba3a3 commit 0f12041
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 @@ -2305,7 +2305,7 @@ def process_proposer_slashing(state: BeaconState,
Note that this function mutates ``state``.
"""
proposer = state.validator_registry[proposer_slashing.proposer_index]
# Verify that the slot is the same
# Verify that the epoch is the same
assert slot_to_epoch(proposer_slashing.header_1.slot) == slot_to_epoch(proposer_slashing.header_2.slot)
# But the headers are different
assert proposer_slashing.header_1 != proposer_slashing.header_2
Expand Down

0 comments on commit 0f12041

Please sign in to comment.