aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/lib/ts/crc32.worker.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/src/lib/ts/crc32.worker.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/lib/ts/crc32.worker.ts b/app/src/lib/ts/crc32.worker.ts
index 0d04c7c..2edcc4f 100644
--- a/app/src/lib/ts/crc32.worker.ts
+++ b/app/src/lib/ts/crc32.worker.ts
@@ -3,6 +3,6 @@ import crc32 from 'crc/crc32';
onmessage = async (message: MessageEvent<File>) => {
const file = message.data;
const buffer = await file.arrayBuffer();
- const crc = crc32(buffer, 517762881);
+ const crc = crc32(buffer);
postMessage(crc);
};