remove old assertion in get_beacon_proposer_index

This commit is contained in:
Danny Ryan 2019-04-17 09:41:23 -06:00
parent af4d06c8bf
commit 5531adcdd1
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 0 additions and 1 deletions

View File

@ -976,7 +976,6 @@ def get_beacon_proposer_index(state: BeaconState) -> ValidatorIndex:
Return the beacon proposer index at ``state.slot``. Return the beacon proposer index at ``state.slot``.
""" """
current_epoch = get_current_epoch(state) current_epoch = get_current_epoch(state)
# assert slot_to_epoch(slot) == current_epoch
first_committee, _ = get_crosslink_committees_at_slot(state, state.slot)[0] first_committee, _ = get_crosslink_committees_at_slot(state, state.slot)[0]
i = 0 i = 0