mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-08-03 04:16:15 -04:00
Update so cli.js test works
- Use websnark version that supports trusted setup - Fix cli.js
This commit is contained in:
parent
d946cf0808
commit
3af3379688
4 changed files with 11 additions and 11 deletions
|
@ -16,7 +16,7 @@ module.exports = function (deployer, network, accounts) {
|
|||
const hasherInstance = await hasherContract.deployed()
|
||||
await ERC20Tornado.link(hasherContract, hasherInstance.address)
|
||||
let token = ERC20_TOKEN
|
||||
if (token === '') {
|
||||
if (token === '' || network === 'development') {
|
||||
const tokenInstance = await deployer.deploy(ERC20Mock)
|
||||
token = tokenInstance.address
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue