Fix function declaration.
authorChris Duncan <chris@zoso.dev>
Mon, 25 Nov 2024 04:54:26 +0000 (20:54 -0800)
committerChris Duncan <chris@zoso.dev>
Mon, 25 Nov 2024 04:54:26 +0000 (20:54 -0800)
src/lib/workers/nano25519.ts

index 090a14b5d964fa0de8d5bcd742e979db269e0639..e94bb54ea07b360a9cc4c91264459aa588a34c2b 100644 (file)
@@ -2372,7 +2372,7 @@ import blake2b from 'blake2b'
                return (vn(x, 0, y, 0, x.length) === 0) ? true : false;\r
        };\r
        \r
-       setPRNG = function(fn) {\r
+       const setPRNG = function(fn) {\r
                randombytes = fn;\r
        };\r
        \r