From c4dd1e4e10c94ff421221dc9604cd21b795a0d47 Mon Sep 17 00:00:00 2001 From: cedoor Date: Wed, 28 Feb 2024 20:49:10 +0000 Subject: [PATCH] test(circuits): add type assertion for secret value --- packages/circuits/tests/semaphore.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/circuits/tests/semaphore.test.ts b/packages/circuits/tests/semaphore.test.ts index 06f008474..b9abcb4d6 100644 --- a/packages/circuits/tests/semaphore.test.ts +++ b/packages/circuits/tests/semaphore.test.ts @@ -45,7 +45,7 @@ describe("semaphore", () => { } const INPUT = { - secret: deriveSecretScalar(secret), + secret: deriveSecretScalar(secret) as `${number}`, merkleProofLength: tree.depth, merkleProofIndices, merkleProofSiblings,