Merge pull request #205 from Steven-Ireland/develop

fix bug with adjusting gas
This commit is contained in:
Iuri Matias 2016-12-27 13:50:04 -05:00 committed by GitHub
commit ba514455d3
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ ContractsManager.prototype.build = function(done) {
contract.abiDefinition = compiledContract.abiDefinition; contract.abiDefinition = compiledContract.abiDefinition;
contract.gas = (contractConfig && contractConfig.gas) || self.contractsConfig.gas; contract.gas = (contractConfig && contractConfig.gas) || self.contractsConfig.gas;
contract.gas = adjustGas(contract); adjustGas(contract);
contract.gasPrice = contract.gasPrice || self.contractsConfig.gasPrice; contract.gasPrice = contract.gasPrice || self.contractsConfig.gasPrice;
contract.type = 'file'; contract.type = 'file';