This commit is contained in:
Zahary Karadjov 2020-06-09 16:49:46 +03:00 committed by zah
parent 25821331c4
commit 8da81210fa
1 changed files with 4 additions and 1 deletions

View File

@ -106,9 +106,12 @@ cli do(slots = SLOTS_PER_EPOCH * 6,
# some variation
let
target_slot = state[].data.slot + MIN_ATTESTATION_INCLUSION_DELAY - 1
commitee_count = get_committee_count_at_slot(state[].data, target_slot)
let
scass = withTimerRet(timers[tShuffle]):
mapIt(
0'u64 ..< get_committee_count_at_slot(state[].data, target_slot),
0 ..< commitee_count.int,
get_beacon_committee(state[].data, target_slot, it.CommitteeIndex, cache))
for i, scas in scass: