From 9bd2c5eff359f6e58eb266f878b85aedc4677c8f Mon Sep 17 00:00:00 2001 From: Alexey Date: Sat, 13 Jul 2019 01:26:27 +0300 Subject: [PATCH] fix small bug --- migrations/4_deploy_mixer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/4_deploy_mixer.js b/migrations/4_deploy_mixer.js index a1af47e..3eec4ba 100644 --- a/migrations/4_deploy_mixer.js +++ b/migrations/4_deploy_mixer.js @@ -8,7 +8,7 @@ module.exports = function(deployer) { return deployer.then(async () => { const { MERKLE_TREE_HEIGHT, AMOUNT, EMPTY_ELEMENT } = process.env const verifier = await Verifier.deployed() - const miMC = MiMC.deployed() + const miMC = await MiMC.deployed() await Mixer.link(MiMC, miMC.address) await deployer.deploy(Mixer, verifier.address, AMOUNT, MERKLE_TREE_HEIGHT, EMPTY_ELEMENT) })