From b880386496fd804f48f3321009bc2b66cba5dbc2 Mon Sep 17 00:00:00 2001 From: Jordi Montes Date: Tue, 23 Jan 2018 15:18:55 +0100 Subject: [PATCH] getGasPrice function removed --- bot/index.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bot/index.js b/bot/index.js index e1100f3..516907f 100644 --- a/bot/index.js +++ b/bot/index.js @@ -53,7 +53,6 @@ const getAmount = function(req) { let label = values[0]; let tokenPrice = values[1]; let amountToPayDollar = config.priceHour * config.bountyLabels[label]; - console.log('Amount: ' + amountToPayDollar +', ' + tokenPrice); resolve(config.amountToPayDollar/tokenPrice); }) .catch(err => { @@ -63,10 +62,6 @@ const getAmount = function(req) { }); } -const getGasPrice = function(req) { - let gasPricePromise = prices.getGasPrice(); - return gasPricePromise; -} // Logging functions