From ac8bb8b2364f1e70aea5b56b05ff20beaa8d7f2f Mon Sep 17 00:00:00 2001 From: C-3PO Date: Sun, 8 Jul 2018 20:18:44 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20Fix=20function=20argument?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ssn/getSolidpkg.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;