🚑 Fix function argument
This commit is contained in:
parent
4d8a631db4
commit
ac8bb8b236
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue