Skip to content

Commit c6d3f0c

Browse files
author
colinlyguo
committed
fix log
1 parent 1de9bc0 commit c6d3f0c

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
@@ -217,7 +217,7 @@ func (cp *ChunkProverTask) formatProverTask(ctx context.Context, task *orm.Prove
217217
if block.Header.Number.Uint64() == 0 {
218218
return nil, fmt.Errorf("failed to fetch block hashes of a chunk, chunk hash:%s, block number is 0", task.TaskID)
219219
}
220-
log.Info("get block hash of chunk task", "number", block.Header.Number.Uint64()-1, "hash", block.Header.ParentHash)
220+
log.Info("get block hash of chunk task", "number", block.Header.Number.Uint64()-1, "hash", block.Header.ParentHash.Hex())
221221
blockHashes = append(blockHashes, block.Header.ParentHash)
222222
}
223223

0 commit comments

Comments
 (0)