From 7c557251ac38c1fc48e2b45258831595a07065e2 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Thu, 14 Aug 2025 06:23:48 -0700 Subject: [PATCH] Use blocks consistently. --- src/lib/crypto/nano-nacl.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/crypto/nano-nacl.ts b/src/lib/crypto/nano-nacl.ts index 78ea046..c2c4d1d 100644 --- a/src/lib/crypto/nano-nacl.ts +++ b/src/lib/crypto/nano-nacl.ts @@ -325,7 +325,9 @@ export class NanoNaCl { static reduce (r: Uint8Array): void { const x = new BigInt64Array(64) - for (let i = 0; i < 64; i++) x[i] = BigInt(r[i]) + for (let i = 0; i < 64; i++) { + x[i] = BigInt(r[i]) + } r.fill(0) this.modL(r, x) } -- 2.47.3