From 427b072a49d7fa21314be5f12ba840a97326cb07 Mon Sep 17 00:00:00 2001 From: cedoor Date: Wed, 23 Feb 2022 12:24:12 +0100 Subject: [PATCH] style: format code with prettier --- packages/protocols/tests/rln.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/protocols/tests/rln.test.ts b/packages/protocols/tests/rln.test.ts index bbc393d..7f88508 100644 --- a/packages/protocols/tests/rln.test.ts +++ b/packages/protocols/tests/rln.test.ts @@ -93,7 +93,6 @@ describe("RLN", () => { const merkleProof = generateMerkleProof(15, BigInt(0), 2, leaves, identityCommitment) const witness = RLN.genWitness(secretHash, merkleProof, epoch, signal, rlnIdentifier) - const vkeyPath = path.join(zkeyFiles, "rln", "verification_key.json") const vKey = JSON.parse(fs.readFileSync(vkeyPath, "utf-8")) @@ -101,7 +100,7 @@ describe("RLN", () => { const finalZkeyPath = path.join(zkeyFiles, "rln", "rln_final.zkey") const fullProof = await RLN.genProof(witness, wasmFilePath, finalZkeyPath) - const response = await RLN.verifyProof(vKey, fullProof ) + const response = await RLN.verifyProof(vKey, fullProof) expect(response).toBe(true) }, 30000)