From 258d9b3fe0b1f33d44427ebda991c3964b7d657c Mon Sep 17 00:00:00 2001 From: VoR0220 Date: Tue, 12 Jun 2018 12:52:23 -0500 Subject: [PATCH] patchy mcpatchface Signed-off-by: VoR0220 --- lib/modules/fuzzer/index.js | 6 +++--- lib/modules/gasEstimator/index.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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) {