From ee8d07626dea71d5e1ce32a7acbfd7fb130dd16e Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sun, 24 Nov 2024 21:28:33 -0800 Subject: [PATCH] Fix function declaration. --- src/lib/workers/nano25519.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1