diff --git a/lib/deploy.js b/lib/deploy.js index 2dbbfc5d7..9130e44c7 100644 --- a/lib/deploy.js +++ b/lib/deploy.js @@ -40,7 +40,8 @@ Deploy.prototype.deploy_contracts = function(env) { if (contract.address !== undefined) { this.deployedContracts[className] = contract.address; - console.log("contract " + className + " at " + contractAddress); + //console.log("contract " + className + " at " + contractAddress); + console.log("contract " + className + " at " + contract.address); } else { contractObject = web3.eth.contract(contract.compiled.info.abiDefinition); @@ -63,14 +64,15 @@ Deploy.prototype.deploy_contracts = function(env) { gasPrice: contract.gasPrice }); - var transactionHash = contractObject["new"].apply(contractObject, contractParams).transactionHash; - this.deployedContracts[className] = transactionHash; - // TODO: get this with sync until a different mechanism is implemented - //this.deployedContracts[className] = contractAddress; - //console.log("address is " + contractAddress); + var transactionHash = contractObject["new"].apply(contractObject, contractParams).transactionHash; + this.deployedContracts[className] = transactionHash; + // TODO: get this with sync until a different mechanism is implemented + //this.deployedContracts[className] = contractAddress; + //console.log("address is " + contractAddress); - console.log("deployed " + className + " with transaction hash " + transactionHash); - //console.log("deployed " + className + " at " + contractAddress); + console.log("deployed " + className + " with transaction hash " + transactionHash); + //console.log("deployed " + className + " at " + contractAddress); + } } };