Merge pull request #1230 from ethereum/JustinDrake-patch-14

Fix comment
This commit is contained in:
Danny Ryan
2019-06-29 13:39:26 -05:00
committed by GitHub

View File

@@ -1167,7 +1167,7 @@ def get_genesis_beacon_state(deposits: Sequence[Deposit], genesis_time: int, eth
validator.activation_eligibility_epoch = GENESIS_EPOCH
validator.activation_epoch = GENESIS_EPOCH
# Populate active_index_roots
# Populate compact_committees_roots
genesis_committee_root = get_compact_committees_root(state, GENESIS_EPOCH)
for index in range(EPOCHS_PER_HISTORICAL_VECTOR):
state.compact_committees_roots[index] = genesis_committee_root