Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Aug 8, 2024
1 parent 2f66ddf commit 62ef0ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/sealsupra/task_supraseal.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,9 @@ func (s *SupraSeal) Do(taskID harmonytask.TaskID, stillOwned func() bool) (done

log.Infow("batch tree start", "slot", slot, "task", taskID, "sectors", sectors, "pstring", hex.EncodeToString([]byte(must.One(supraffi.GenerateMultiString(outPaths)))))

start = time.Now()
start2 := time.Now()
res = supraffi.Pc2(slot, s.sectors, must.One(supraffi.GenerateMultiString(outPaths)), uint64(ssize))
log.Infow("batch tree done", "duration", time.Since(start).Truncate(time.Second), "slot", slot, "res", res, "task", taskID, "sectors", sectors)
log.Infow("batch tree done", "duration", time.Since(start2).Truncate(time.Second), "slot", slot, "res", res, "task", taskID, "sectors", sectors)
if res != 0 {
return false, xerrors.Errorf("pc2 failed: %d", res)
}
Expand Down

0 comments on commit 62ef0ff

Please sign in to comment.