Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
xenowits committed Nov 4, 2022
1 parent 75118df commit ee1fe32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testutil/validatormock/synccomm.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ func getSubcommittees(ctx context.Context, eth2Cl eth2client.SpecProvider, duty
}

var subcommittees []eth2p0.CommitteeIndex
for _, commIdx := range duty.ValidatorSyncCommitteeIndices {
subcommIdx := uint64(commIdx) / commSize / subnetCount
for _, idx := range duty.ValidatorSyncCommitteeIndices {
subcommIdx := uint64(idx) / commSize / subnetCount
subcommittees = append(subcommittees, eth2p0.CommitteeIndex(subcommIdx))
}

Expand Down

0 comments on commit ee1fe32

Please sign in to comment.