diff --git a/lib/modules/fuzzer/index.js b/lib/modules/fuzzer/index.js index 13dd52e84..02defe933 100644 --- a/lib/modules/fuzzer/index.js +++ b/lib/modules/fuzzer/index.js @@ -22,11 +22,11 @@ class ContractFuzzer { fuzzMap[name] = {}; for (let i = 0; i < iterations; i++) { fuzzMap[name][i] = inputTypes.map(input => this.getTypeFuzz(input)); - self.logger.info(name); - self.logger.info("iteration: " + i + "\n" + fuzzMap[name][i]); + self.logger.trace(name); + self.logger.trace("iteration: " + i + "\n" + fuzzMap[name][i]); } }); - self.logger.info('\n'); + self.logger.trace('\n'); return fuzzMap; } diff --git a/lib/modules/gasEstimator/index.js b/lib/modules/gasEstimator/index.js index b897ffcff..dee093de6 100644 --- a/lib/modules/gasEstimator/index.js +++ b/lib/modules/gasEstimator/index.js @@ -46,7 +46,7 @@ class GasEstimator { async.concat(fuzzMap[name], (values, getVarianceCb) => { contractObj.methods[name].apply(contractObj.methods[name], values) .estimateGas((err, gasAmount) => { - getVarianceCb(err, [gasAmount]); + getVarianceCb(err, gasAmount); }); }, (err, variance) => { if (err) {