Skip to content

Commit

Permalink
Merge pull request #733 from ethereum/JustinDrake-patch-1
Browse files Browse the repository at this point in the history
Fair proposer sampling
  • Loading branch information
djrtwo committed Mar 12, 2019
2 parents e843447 + acf0f76 commit 86247d0
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 @@ -1015,7 +1015,7 @@ def get_beacon_proposer_index(state: BeaconState,
assert previous_epoch <= epoch <= next_epoch

first_committee, _ = get_crosslink_committees_at_slot(state, slot, registry_change)[0]
return first_committee[slot % len(first_committee)]
return first_committee[epoch % len(first_committee)]
```

### `verify_merkle_branch`
Expand Down

0 comments on commit 86247d0

Please sign in to comment.