From a25e8fbb331e34877a214ba387e993dcf0edd6cf Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sun, 24 Nov 2024 20:54:26 -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 090a14b..e94bb54 100644 --- a/src/lib/workers/nano25519.ts +++ b/src/lib/workers/nano25519.ts @@ -2372,7 +2372,7 @@ import blake2b from 'blake2b' return (vn(x, 0, y, 0, x.length) === 0) ? true : false; }; - setPRNG = function(fn) { + const setPRNG = function(fn) { randombytes = fn; }; -- 2.34.1