Skip to content

Commit

Permalink
fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlyguo committed Oct 15, 2024
1 parent 2e766ae commit 6ac25e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coordinator/internal/logic/provertask/batch_prover_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func (bp *BatchProverTask) getBatchTaskDetail(dbBatch *orm.Batch, chunkInfos []*
return taskDetail, nil
}

codec, err := encoding.CodecFromVersion(encoding.CodecV0)
codec, err := encoding.CodecFromVersion(encoding.CodecVersion(dbBatch.CodecVersion))
if err != nil {
return nil, fmt.Errorf("failed to get codec from version: %w", err)
}
Expand Down

0 comments on commit 6ac25e5

Please sign in to comment.