Skip to content

Commit 62ef0ff

Browse files
committed
fix lint
1 parent 2f66ddf commit 62ef0ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/sealsupra/task_supraseal.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,9 @@ func (s *SupraSeal) Do(taskID harmonytask.TaskID, stillOwned func() bool) (done
297297

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

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

0 commit comments

Comments
 (0)