Skip to content

Commit

Permalink
fix(migrations/2_deploy_contracts.js): fix undefined ctx in deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
cckelly committed Nov 16, 2018
1 parent d2dc19d commit b6c52f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/2_deploy_contracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ module.exports = (deployer, network, defaultAccounts) => {
await web3.eth.personal.unlockAccount(constants.TEST_OWNER_ADDRESS, constants.PASSWORD, 0)
await web3.eth.sendTransaction({ from: accounts[0], to: constants.TEST_OWNER_ADDRESS, value: 10000000000000000000 })
await web3.eth.sendTransaction({ from: accounts[0], to: constants.TEST_OWNER_ADDRESS_2, value: 10000000000000000000 })
ctx.close()
}

// deploy
await deployer.deploy(Registry, { from })
await deployer.deploy(Library, Registry.address, { from })
await deployer.deploy(AraToken, { from })
ctx.close()
await ondeploycomplete()
})
}
Expand Down

0 comments on commit b6c52f3

Please sign in to comment.