getGasPrice function removed

This commit is contained in:
Jordi Montes 2018-01-23 15:18:55 +01:00
parent e028a2e8d8
commit b880386496
1 changed files with 0 additions and 5 deletions

View File

@ -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