From 6dc6aa884457b79e2da595d01ed5b0a57d3b770c Mon Sep 17 00:00:00 2001 From: C-3PO Date: Sun, 8 Jul 2018 20:27:09 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20Fix=20build?= 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 8ea1fcd..51d66a3 100644 --- a/src/ssn/getSolidpkg.ts +++ b/src/ssn/getSolidpkg.ts @@ -44,7 +44,7 @@ export default async function getSolidpkg(product: Product, from: number, to: nu await readLocalFileHeader(stream, true); const solidFileStream = extractFileStream(firstFile, stream); const solidFileArrayBuffer = await streamToArrayBuffer(solidFileStream); - const solidContents = parseBencode(new DataView(solidFileArrayBuffer)) as ISolid; + const solidContents = parseBencode(new DataView(solidFileArrayBuffer.buffer)) as ISolid; //Verify metafile.solid for correctness verifySolidpkg(solidContents, { product, from, to });