]> zoso.dev Git - libnemo.git/commitdiff
Fix function declaration.
authorChris Duncan <chris@zoso.dev>
Mon, 25 Nov 2024 05:28:33 +0000 (21:28 -0800)
committerChris Duncan <chris@zoso.dev>
Mon, 25 Nov 2024 05:28:33 +0000 (21:28 -0800)
src/lib/workers/nano25519.ts

index 6e6787e54999b139d0e06553a5b64e36fa3dfbef..15f7b3582e86a6dd987cfa36c52e86d353ced5e9 100644 (file)
@@ -2315,7 +2315,7 @@ import blake2b from 'blake2b'
 \r
        hash.hashLength = crypto_hash_BYTES;\r
 \r
-       verify = function(x, y) {\r
+       const verify = function(x, y) {\r
                checkArrayTypes(x, y);\r
                // Zero length arguments are considered not equal.\r
                if (x.length === 0 || y.length === 0) return false;\r