Skip to content

Commit dd3c9e1

Browse files
yiweichicolinlyguo
andauthored
Update coordinator/internal/logic/provertask/chunk_prover_task.go
Co-authored-by: colin <[email protected]>
1 parent 64e88ce commit dd3c9e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coordinator/internal/logic/provertask/chunk_prover_task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func (cp *ChunkProverTask) Assign(ctx *gin.Context, getTaskParameter *coordinato
6565
if strings.HasPrefix(taskCtx.ProverName, ExternalProverNamePrefix) {
6666
unassignedChunkCount, getCountError := cp.chunkOrm.GetUnassignedChunkCount(ctx.Copy(), maxActiveAttempts, maxTotalAttempts, getTaskParameter.ProverHeight)
6767
if getCountError != nil {
68-
log.Error("failed to get unassigned chunk proving tasks count", "height", getTaskParameter.ProverHeight, "err", err)
68+
log.Error("failed to get unassigned chunk proving tasks count", "height", getTaskParameter.ProverHeight, "err", getCountError)
6969
return nil, ErrCoordinatorInternalFailure
7070
}
7171
// Assign external prover if unassigned task number exceeds threshold

0 commit comments

Comments
 (0)