From 30b03383ee5e747ea750ed8069ef6a1cfa169b9b Mon Sep 17 00:00:00 2001 From: Steven Ireland Date: Mon, 26 Dec 2016 11:47:57 -0500 Subject: [PATCH] fix bug with adjusting gas --- lib/contracts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/contracts.js b/lib/contracts.js index 8122eec2..73252b84 100644 --- a/lib/contracts.js +++ b/lib/contracts.js @@ -79,7 +79,7 @@ ContractsManager.prototype.build = function(done) { contract.abiDefinition = compiledContract.abiDefinition; contract.gas = (contractConfig && contractConfig.gas) || self.contractsConfig.gas; - contract.gas = adjustGas(contract); + adjustGas(contract); contract.gasPrice = contract.gasPrice || self.contractsConfig.gasPrice; contract.type = 'file';