@ -208,7 +208,7 @@ export function useDownloader(uploaderPeerID: string): {
console.error('[Downloader] no stream found for',message.fileName)
return
}
// Track chunks for e2e testing
if(!chunkCountByFile[message.fileName]){
chunkCountByFile[message.fileName]=0
@ -217,11 +217,11 @@ export function useDownloader(uploaderPeerID: string): {
console.log(
`[Downloader] received chunk ${chunkCountByFile[message.fileName]} for ${message.fileName} (${message.offset}-${message.offset+(message.bytesasArrayBuffer).byteLength}) final=${message.final}`,