From 9b14a22b0d731aa65f6e43f585bad86d8fc332fc Mon Sep 17 00:00:00 2001 From: Roman Storm Date: Thu, 1 Aug 2019 00:34:59 -0700 Subject: [PATCH] remove comment --- test/Mixer.test.js | 1 - 1 file changed, 1 deletion(-) diff --git a/test/Mixer.test.js b/test/Mixer.test.js index 16a0b39..4a12fdb 100644 --- a/test/Mixer.test.js +++ b/test/Mixer.test.js @@ -238,7 +238,6 @@ contract('Mixer', accounts => { }) const proof = await websnarkUtils.genWitnessAndProve(groth16, input, circuit, proving_key) const { pi_a, pi_b, pi_c, publicSignals } = websnarkUtils.toSolidityInput(proof) - // publicSignals[1] ='0x' + toBN(publicSignals[1]).add(toBN('21888242871839275222246405745257275088548364400416034343698204186575808495617')).toString('hex') await mixer.withdraw(pi_a, pi_b, pi_c, publicSignals, { from: relayer }).should.be.fulfilled const error = await mixer.withdraw(pi_a, pi_b, pi_c, publicSignals, { from: relayer }).should.be.rejected error.reason.should.be.equal('The note has been already spent')