diff --git a/src/ssn/getSolidpkg.ts b/src/ssn/getSolidpkg.ts index 96ebb4f..8ea1fcd 100644 --- a/src/ssn/getSolidpkg.ts +++ b/src/ssn/getSolidpkg.ts @@ -41,7 +41,7 @@ export default async function getSolidpkg(product: Product, from: number, to: nu const stream = arrayBufferToStream(ssnFile, firstFile.offset); //Extract metafile.solid file - await readLocalFileHeader(stream, skipAdditionalLength); + await readLocalFileHeader(stream, true); const solidFileStream = extractFileStream(firstFile, stream); const solidFileArrayBuffer = await streamToArrayBuffer(solidFileStream); const solidContents = parseBencode(new DataView(solidFileArrayBuffer)) as ISolid;