From 24a21ac88f10e0b9f8780bad564d0049013def97 Mon Sep 17 00:00:00 2001 From: poma Date: Fri, 15 Nov 2019 22:42:59 +0300 Subject: [PATCH] fix test --- test/ETHMixer.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ETHMixer.test.js b/test/ETHMixer.test.js index 76d3611..a2622af 100644 --- a/test/ETHMixer.test.js +++ b/test/ETHMixer.test.js @@ -321,14 +321,14 @@ contract('ETHMixer', accounts => { await mixer.deposit(toFixedHex(deposit.commitment), { value, from: sender }) const { root, path_elements, path_index } = await tree.path(0) - const oneEtherFee = bigInt(1e18) // 1 ether + const largeFee = bigInt(value).add(bigInt(1)) const input = stringifyBigInts({ root, nullifierHash: pedersenHash(deposit.nullifier.leInt2Buff(31)), nullifier: deposit.nullifier, relayer: operator, recipient, - fee: oneEtherFee, + fee: largeFee, refund, secret: deposit.secret, pathElements: path_elements,