From c3beb513279474e38351438931a27f6aee14b5ba Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 23 Sep 2016 02:59:08 -0700 Subject: [PATCH] fix contract arguments --- lib/contracts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/contracts.js b/lib/contracts.js index 0efb3c37a..f66dfcdc9 100644 --- a/lib/contracts.js +++ b/lib/contracts.js @@ -19,7 +19,7 @@ ContractsManager.prototype.compileContracts = function() { ContractsManager.prototype.build = function() { for(var className in this.compiledContracts) { var contract = this.compiledContracts[className]; - var contractConfig = this.contractsConfig[className]; + var contractConfig = this.contractsConfig.contracts[className]; if (this.contractsConfig.gas === 'auto') { var maxGas = Math.max(contract.gasEstimates.creation[0], contract.gasEstimates.creation[1], 500000);