Skip to content

Commit 58cebe6

Browse files
authored
use SourceOffset to support CarV2 (#681)
1 parent 1fb3d0f commit 58cebe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/indexing/task_indexing.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ func IndexCAR(r io.Reader, buffSize int, recs chan<- indexstore.Record, addFail
458458
select {
459459
case recs <- indexstore.Record{
460460
Cid: blockMetadata.Cid,
461-
Offset: blockMetadata.Offset,
461+
Offset: blockMetadata.SourceOffset,
462462
Size: blockMetadata.Size,
463463
}:
464464
case <-addFail:

0 commit comments

Comments
 (0)