fixed argon2

This commit is contained in:
antelle 2019-09-20 05:43:22 +02:00
parent 723c39de85
commit 07177222a0
1 changed files with 2 additions and 1 deletions

View File

@ -119,7 +119,8 @@ const KdbxwebInit = {
self.postMessage({ op: 'postRun' });
self.onmessage = e => {
try {
const hash = self.Module.calcHash(self.Module, e.data);
/* eslint-disable-next-line no-undef */
const hash = Module.calcHash(Module, e.data);
self.postMessage({ hash });
} catch (e) {
self.postMessage({ error: e.toString() });