From: Chris Duncan Date: Thu, 27 Aug 2026 03:54:28 +0000 (-0700) Subject: Fix prematurely cleared local buffer. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=288755820c04f957781a6f9651f5d0662a809628;p=nano25519.git Fix prematurely cleared local buffer. --- diff --git a/src/assembly/index.ts b/src/assembly/index.ts index 07552cd..348ee37 100644 --- a/src/assembly/index.ts +++ b/src/assembly/index.ts @@ -197,7 +197,6 @@ export function verify_blocks (count: i32): void { // Verify public key, then clear local input const validPubkey = crypto_verify_pubkey(verify_blocks_pub) - verify_blocks_pub.fill(0) // Iterate over block hash/signature pairs for (let i = 0; i < count; i++) {