From fa534b3f18ab6b295636bb3a05455675cc4bba65 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Fri, 4 Sep 2026 20:36:36 -0700 Subject: [PATCH] Fix positive test. --- test/node.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/node.mjs b/test/node.mjs index f61693a..dfa215c 100644 --- a/test/node.mjs +++ b/test/node.mjs @@ -190,8 +190,8 @@ passes += +test failures += +!test // Check identity signature verifies -result = verify(IDENTITY.signatureBytes, new Uint8Array(32), IDENTITY.publicKeyBytes) -test = result === true +result = verify_blocks(IDENTITY.publicKeyBytes, [{ signature: IDENTITY.signatureBytes, hash: new Uint8Array(32) }]) +test = result[0] === true check(`verify identity signature bytes ${IDENTITY.signature}`, test) passes += +test failures += +!test -- 2.52.0