Merge pull request #205 from Steven-Ireland/develop
fix bug with adjusting gas
This commit is contained in:
commit
ba514455d3
|
@ -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';
|
||||||
|
|
Loading…
Reference in New Issue