style: format code with prettier

This commit is contained in:
cedoor
2022-02-23 12:24:12 +01:00
parent 4f54d842c5
commit 427b072a49

View File

@@ -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)