Skip to content

Commit ae212a9

Browse files
author
colinlyguo
committed
fix logs
1 parent 9b5c42e commit ae212a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coordinator/internal/logic/provertask/batch_prover_task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ func (bp *BatchProverTask) formatProverTask(ctx context.Context, task *orm.Prove
247247
HardForkName: hardForkName,
248248
}
249249

250-
log.Debug("TaskData", "task_id", task.TaskID, "task_type", message.ProofTypeChunk.String(), "hard_fork_name", hardForkName, "task_data", taskMsg.TaskData)
250+
log.Debug("TaskData", "task_id", task.TaskID, "task_type", message.ProofTypeBatch.String(), "hard_fork_name", hardForkName, "task_data", taskMsg.TaskData)
251251

252252
return taskMsg, nil
253253
}

coordinator/internal/logic/provertask/bundle_prover_task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ func (bp *BundleProverTask) formatProverTask(ctx context.Context, task *orm.Prov
220220
HardForkName: hardForkName,
221221
}
222222

223-
log.Debug("TaskData", "task_id", task.TaskID, "task_type", message.ProofTypeChunk.String(), "hard_fork_name", hardForkName, "task_data", taskMsg.TaskData)
223+
log.Debug("TaskData", "task_id", task.TaskID, "task_type", message.ProofTypeBundle.String(), "hard_fork_name", hardForkName, "task_data", taskMsg.TaskData)
224224

225225
return taskMsg, nil
226226
}

0 commit comments

Comments
 (0)