From c20506c7b5b2ec0908a1a47fee44687af8ff0208 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 3 Dec 2024 14:33:11 -0800 Subject: [PATCH] Fix public key derivation. --- src/lib/nano-nacl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/nano-nacl.ts b/src/lib/nano-nacl.ts index e288e4e..d3d84c0 100644 --- a/src/lib/nano-nacl.ts +++ b/src/lib/nano-nacl.ts @@ -819,7 +819,7 @@ const n = () => { const p = [gf(), gf(), gf(), gf()] - const hash = new Blake2b(64).update(sk).digest() + const hash = new Blake2b(64).update(seed).digest() hash[0] &= 248 hash[31] &= 127 hash[31] |= 64 -- 2.34.1