fix hardcoded fee in tests

This commit is contained in:
Alexey 2019-08-01 12:58:57 +03:00
parent 00ba6e8685
commit e116dcee67
1 changed files with 2 additions and 2 deletions

View File

@ -62,11 +62,11 @@ contract('Mixer', accounts => {
const sender = accounts[0]
const levels = MERKLE_TREE_HEIGHT || 16
const zeroValue = EMPTY_ELEMENT || 1337
const value = AMOUNT || '1000000000000000000'
const value = AMOUNT || '1000000000000000000' // 1 ether
let snapshotId
let prefix = 'test'
let tree
const fee = bigInt(1e17)
const fee = bigInt(AMOUNT).shr(1) || bigInt(1e17)
const receiver = getRandomReceiver()
const relayer = accounts[1]
let groth16