mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-11-22 09:47:13 +01:00
fix test
This commit is contained in:
parent
5b60e44a7e
commit
0393ee9c05
@ -113,7 +113,7 @@ contract('ERC20Mixer', accounts => {
|
|||||||
await token.approve(mixer.address, tokenDenomination)
|
await token.approve(mixer.address, tokenDenomination)
|
||||||
|
|
||||||
let error = await mixer.deposit(commitment, { from: sender, value: 1e6 }).should.be.rejected
|
let error = await mixer.deposit(commitment, { from: sender, value: 1e6 }).should.be.rejected
|
||||||
error.reason.should.be.equal('ETH value is supposed to be 0 for ETH mixer')
|
error.reason.should.be.equal('ETH value is supposed to be 0 for ERC20 mixer')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user