From: Chris Duncan Date: Thu, 27 Aug 2026 06:52:10 +0000 (-0700) Subject: Fix object that is not a pointer. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=94b415d67a0ef12d4f2a90343c6824a82790025a;p=nano25519.git Fix object that is not a pointer. --- diff --git a/src/assembly/index.ts b/src/assembly/index.ts index 9ecb400..de81d8e 100644 --- a/src/assembly/index.ts +++ b/src/assembly/index.ts @@ -208,7 +208,7 @@ export function verify_blocks (count: i32): void { memory.copy(changetype(verify_blocks_sig), changetype(MESSAGE_BUFFER) + BLOCKHASH_BYTELENGTH + (96 * i), SIGNATURE_BYTELENGTH) // Verify hash and signature - store(OUTPUT_BUFFER + i, u8(crypto_verify_relaxed(verify_blocks_sig, verify_blocks_msg, BLOCKHASH_BYTELENGTH, verify_blocks_pub)) + OUTPUT_BUFFER[i] = crypto_verify_relaxed(verify_blocks_sig, verify_blocks_msg, BLOCKHASH_BYTELENGTH, verify_blocks_pub)) } }