From a601541bb0530c52a1df38b8badcecbe911a700e Mon Sep 17 00:00:00 2001 From: VoR0220 Date: Tue, 12 Jun 2018 12:12:37 -0500 Subject: [PATCH] get rid of one more line and get rid of unused cb Signed-off-by: VoR0220 --- lib/modules/profiler/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/modules/profiler/index.js b/lib/modules/profiler/index.js index 2c884f49a..34557e473 100644 --- a/lib/modules/profiler/index.js +++ b/lib/modules/profiler/index.js @@ -11,7 +11,7 @@ class Profiler { this.registerConsoleCommand(); } - profile(contractName, contract, cb) { + profile(contractName, contract) { const self = this; let table = new asciiTable(contractName); table.setHeading('Function', 'Payable', 'Mutability', 'Inputs', 'Outputs', 'Gas Estimates'); @@ -21,7 +21,6 @@ class Profiler { return; } contract.abiDefinition.forEach((abiMethod) => { - console.log("Abi Method Gastimate: ", gastimates[abiMethod.name]); switch(abiMethod.type) { case "constructor": table.addRow("constructor", abiMethod.payable, abiMethod.stateMutability, self.formatParams(abiMethod.inputs), self.formatParams(abiMethod.outputs), gastimates['constructor']);