mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-07-09 00:19:24 -04:00
fix small bug
This commit is contained in:
parent
6ed28a9a3c
commit
9bd2c5eff3
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ module.exports = function(deployer) {
|
||||||
return deployer.then(async () => {
|
return deployer.then(async () => {
|
||||||
const { MERKLE_TREE_HEIGHT, AMOUNT, EMPTY_ELEMENT } = process.env
|
const { MERKLE_TREE_HEIGHT, AMOUNT, EMPTY_ELEMENT } = process.env
|
||||||
const verifier = await Verifier.deployed()
|
const verifier = await Verifier.deployed()
|
||||||
const miMC = MiMC.deployed()
|
const miMC = await MiMC.deployed()
|
||||||
await Mixer.link(MiMC, miMC.address)
|
await Mixer.link(MiMC, miMC.address)
|
||||||
await deployer.deploy(Mixer, verifier.address, AMOUNT, MERKLE_TREE_HEIGHT, EMPTY_ELEMENT)
|
await deployer.deploy(Mixer, verifier.address, AMOUNT, MERKLE_TREE_HEIGHT, EMPTY_ELEMENT)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue