From 95c59b0007e851328d08800599536b29f0711c39 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sat, 29 Aug 2026 00:04:43 -0700 Subject: [PATCH] Fill verify buffer to fail closed at instantiation. --- src/assembly/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assembly/index.ts b/src/assembly/index.ts index b827b8a..c66fd8b 100644 --- a/src/assembly/index.ts +++ b/src/assembly/index.ts @@ -23,7 +23,7 @@ const INPUT_SIG = new StaticArray(SIGNATURE_BYTELENGTH) const OUTPUT_DERIVE = new StaticArray(KEY_BYTELENGTH) const OUTPUT_SIGN = new StaticArray(SIGNATURE_BYTELENGTH) -const OUTPUT_VERIFY = new StaticArray(MAX_VERIFY_BLOCKS) +const OUTPUT_VERIFY = new StaticArray(MAX_VERIFY_BLOCKS).fill(255) /** Returns a pointer to the static message input buffer. */ export function ptrInputMsg (): usize { -- 2.52.0