From 034e2d45469e76201bcb4046a515e81a82c6897c Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Tue, 27 Nov 2018 06:36:10 -0500 Subject: [PATCH] Update specs/core/0_beacon-chain.md Co-Authored-By: vbuterin --- specs/core/0_beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index 08f89de2a..af6a33c6c 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -551,7 +551,7 @@ def get_block_hash(state: BeaconState, The following is a function that determines the proposer of a beacon block: ```python -def get_beacon_proposer_index(state:BeaconState, slot: int) -> ValidatorRecord: +def get_beacon_proposer_index(state:BeaconState, slot: int) -> int: first_committee = get_shards_and_committees_for_slot(state, slot)[0].committee index = first_committee[slot % len(first_committee)] return index