Skip to content

Commit

Permalink
Fix complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
fasmat committed Jul 4, 2023
1 parent 76343e0 commit 782e191
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion service/round.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (r *round) submit(key, challenge []byte) error {
return err
}

func (r *round) execute(ctx context.Context, end time.Time, minMemoryLayer uint, fileWriterBufSize uint) error {
func (r *round) execute(ctx context.Context, end time.Time, minMemoryLayer, fileWriterBufSize uint) error {
logger := logging.FromContext(ctx).With(zap.String("round", r.ID))
logger.Sugar().Infof("executing until %v...", end)

Expand Down
2 changes: 1 addition & 1 deletion service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ func (s *Service) Started() bool {
return s.started.Load()
}

func (s *Service) recover(ctx context.Context) (open *round, executing *round, err error) {
func (s *Service) recover(ctx context.Context) (open, executing *round, err error) {
roundsDir := filepath.Join(s.datadir, "rounds")
logger := logging.FromContext(ctx).Named("recovery")
logger.Info("Recovering service state", zap.String("datadir", s.datadir))
Expand Down

0 comments on commit 782e191

Please sign in to comment.