From 3c512298c229afbe51d2a4116b12bb606156b99c Mon Sep 17 00:00:00 2001 From: Jordi Montes Date: Sat, 20 Jan 2018 17:29:29 +0100 Subject: [PATCH] getAmount functions is now a bot function --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 1f6a1f2..13f9c53 100644 --- a/index.js +++ b/index.js @@ -33,7 +33,7 @@ app.post(`${config.urlEndpoint}`, jsonParser, function(req, res, next) { //const eth = bot.eth; //const from = config.sourceAddress; //const to = bot.getAddress(req); - const amount = config.getAmount(req); + const amount = bot.getAmount(req); const gasPrice = bot.getGasPrice(); console.log('amount: ', amount); console.log('gasPrice: ', gasPrice);