diff --git a/lib/contracts/deploy_manager.js b/lib/contracts/deploy_manager.js index f913ba83..e01b8632 100644 --- a/lib/contracts/deploy_manager.js +++ b/lib/contracts/deploy_manager.js @@ -11,12 +11,7 @@ var DeployManager = function(options) { this.plugins = options.plugins; this.events = options.events; this.web3 = options.web3; - // TODO: lol, redo this - if (options.trackContracts !== false) { - this.chainConfig = this.config.chainTracker; - } else { - this.chainConfig = false; - } + this.chainConfig = (options.trackContracts !== false) ? this.config.chainTracker : false; }; DeployManager.prototype.deployContracts = function(done) { @@ -87,4 +82,3 @@ DeployManager.prototype.deployContracts = function(done) { }; module.exports = DeployManager; -