Skip to content

Commit 838e642

Browse files
author
colinlyguo
committed
fix comments
1 parent b8b7ece commit 838e642

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

coordinator/internal/logic/provertask/batch_prover_task.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ func (bp *BatchProverTask) getBatchTaskDetail(dbBatch *orm.Batch, chunkInfos []*
293293
// FIXME: Challenge = ChallengeDigest % BLS_MODULUS, get the original ChallengeDigest.
294294
// Simply omit the field now to skip sanity check in prover side
295295
// Resume it later (or FIXME has worked or the prover side has relax its checking)
296-
// taskDetail.ChallengeDigest = common.BytesToHash(dbBatch.BlobDataProof[0:32])
296+
// taskDetail.ChallengeDigest = new(common.Hash)
297+
// *taskDetail.ChallengeDigest = common.BytesToHash(dbBatch.BlobDataProof[0:32])
297298
return taskDetail, nil
298299
}

0 commit comments

Comments
 (0)