From 195983d42a787f9be3eb5ca07b5fe84445467249 Mon Sep 17 00:00:00 2001 From: Michael Lynch Date: Sat, 3 Jan 2026 04:56:44 -0500 Subject: [PATCH] Fix last publicKey assertion --- test/protocol.test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/protocol.test.js b/test/protocol.test.js index f4b2dfe..f134e88 100644 --- a/test/protocol.test.js +++ b/test/protocol.test.js @@ -82,8 +82,7 @@ describe('Contact Response Parsing', () => { const result = await resultPromise; - assert.strictEqual(result.publicKey.length, 32); - assert.strictEqual(result.publicKey[0], 0xCD); + assert.deepStrictEqual(result.publicKey, new Uint8Array(32).fill(0xCD)); assert.strictEqual(result.type, 2); assert.strictEqual(result.flags, 0x01); assert.strictEqual(result.outPathLen, 3);