Skip to content

Commit

Permalink
Update 0_beacon-chain.md (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
hwwhww authored and JustinDrake committed Feb 1, 2019
1 parent 4cdb667 commit 0b8ccf1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions specs/core/0_beacon-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,6 @@ def generate_seed(state: BeaconState,
"""
Generate a seed for the given ``epoch``.
"""

return hash(
get_randao_mix(state, epoch - SEED_LOOKAHEAD) +
get_active_index_root(state, epoch)
Expand Down Expand Up @@ -1000,7 +999,7 @@ def get_attestation_participants(state: BeaconState,

### `is_power_of_two`

```
```python
def is_power_of_two(value: int) -> bool:
"""
Check if ``value`` is a power of two integer.
Expand Down

0 comments on commit 0b8ccf1

Please sign in to comment.