fix contract arguments
This commit is contained in:
parent
df508e4e8d
commit
c3beb51327
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue