From 23909ca72760b002c25278de9817ae26164c67d4 Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Wed, 26 Jun 2019 17:06:34 -0600 Subject: [PATCH] Fix line lengths --- specs/core/0_beacon-chain.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index 31fb7c1db..6f7a7a059 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -737,7 +737,8 @@ def get_randao_mix(state: BeaconState, epoch: Epoch) -> Hash: """ Return the randao mix at a recent ``epoch``. - ``epoch`` expected to be between (current_epoch - EPOCHS_PER_HISTORICAL_VECTOR, current_epoch], unless otherwise noted at a call site. + ``epoch`` expected to be between (current_epoch - EPOCHS_PER_HISTORICAL_VECTOR, current_epoch], unless + otherwise noted at a call site. """ return state.randao_mixes[epoch % EPOCHS_PER_HISTORICAL_VECTOR] ``` @@ -763,7 +764,8 @@ def generate_seed(state: BeaconState, """ Generate a seed for the given ``epoch``. - Note that avoiding the underflow on ``get_randao_mix`` here violates the epoch validity condition given in that function's comment. + Note that avoiding the underflow on ``get_randao_mix`` here violates + the epoch validity condition given in that function's comment. """ return hash( get_randao_mix(state, Epoch(epoch + EPOCHS_PER_HISTORICAL_VECTOR - MIN_SEED_LOOKAHEAD)) +