💡 Add reminder to check downloaded patch files for correctness

This commit is contained in:
C-3PO 2018-06-24 00:08:48 +02:00
parent 57d45b942b
commit 5fd25d1095
Signed by: c3po
GPG key ID: 62993C4BB4D86F24

View file

@ -13,6 +13,8 @@ export default async function getPatch(product: Product, from: number, to: numbe
const zipFile = bufferArray[bufferArray.length - 1];
const dvArray = bufferArray.map((buffer) => new DataView(buffer));
//TODO: Verify that downloaded files match the hash in `solidPkg.pieces`
const fileEntries = readSsnFile(zipFile);
console.debug(fileEntries);