mockAttestationData(...)/mockAttestationImpl(...) changes also match exactly

This commit is contained in:
Dustin Brody 2019-11-14 19:09:18 +01:00
parent c08698bffe
commit cd45b8b43f
No known key found for this signature in database
GPG Key ID: 3D7A11A0156519DC
1 changed files with 3 additions and 1 deletions

View File

@ -50,7 +50,9 @@ proc mockAttestationData(
# Constructed to be provide exact equivalent index... to compute_committee(...)
# as using epoch/shard.
let (r_slot, r_index) = get_slot_and_index(state, target_epoch, shard)
result.slot = r_slot
doAssert r_slot == slot
doAssert r_index == 0
result.slot = slot
result.index = r_index
result.target = Checkpoint(