Skip to content

Commit

Permalink
Merge branch 'beacon-committees-rpc' of github.com:prysmaticlabs/prys…
Browse files Browse the repository at this point in the history
…m into beacon-committees-rpc
  • Loading branch information
rauljordan committed Nov 12, 2019
2 parents 3ead960 + 37f9b74 commit 7ea385a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion beacon-chain/archiver/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func (s *Service) run(ctx context.Context) {
log.WithField(
"epoch",
helpers.CurrentEpoch(headState),
).Info("Successfully archived beacon chain data during epoch")
).Debug("Successfully archived beacon chain data during epoch")
case <-s.ctx.Done():
log.Debug("Context closed, exiting goroutine")
return
Expand Down
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 7ea385a

Please sign in to comment.