Skip to content

Commit

Permalink
Update beacon-chain/rpc/beacon/committees.go
Browse files Browse the repository at this point in the history
  • Loading branch information
rauljordan authored Nov 12, 2019
1 parent fc979b6 commit 37f9b74
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion beacon-chain/rpc/beacon/committees.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ func (bs *Server) ListBeaconCommittees(
)
}

// If current epoch, compute. Otherwise, fetch from archive.
committees := make([]*ethpb.BeaconCommittees_CommitteeItem, 0)
for slot := startSlot; slot < startSlot+params.BeaconConfig().SlotsPerEpoch; slot++ {
var countAtSlot = uint64(len(activeIndices)) / params.BeaconConfig().SlotsPerEpoch / params.BeaconConfig().TargetCommitteeSize
Expand Down

0 comments on commit 37f9b74

Please sign in to comment.