Skip to content

Commit cf57595

Browse files
committed
fix file hassh computation
1 parent 82b4d4a commit cf57595

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/hub/src/utils/createXorbs.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ export async function* createXorbs(
274274
bytesSinceLastProgressEvent += chunk.length;
275275

276276
// Collect metadata for building representation at the end
277+
fileChunks.push({ hash: chunk.hash, length: chunk.length });
277278
chunkMetadata.push({
278279
xorbId: chunkXorbId,
279280
chunkIndex: chunkIndex,

0 commit comments

Comments
 (0)