From: Chris Duncan Date: Mon, 25 Nov 2024 05:28:33 +0000 (-0800) Subject: Fix function declaration. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=ee8d07626dea71d5e1ce32a7acbfd7fb130dd16e;p=libnemo.git Fix function declaration. --- diff --git a/src/lib/workers/nano25519.ts b/src/lib/workers/nano25519.ts index 6e6787e..15f7b35 100644 --- a/src/lib/workers/nano25519.ts +++ b/src/lib/workers/nano25519.ts @@ -2315,7 +2315,7 @@ import blake2b from 'blake2b' hash.hashLength = crypto_hash_BYTES; - verify = function(x, y) { + const verify = function(x, y) { checkArrayTypes(x, y); // Zero length arguments are considered not equal. if (x.length === 0 || y.length === 0) return false;