getAmount functions is now a bot function

This commit is contained in:
Jordi Montes 2018-01-20 17:29:29 +01:00
parent 7f353ce0c3
commit 3c512298c2

View File

@ -33,7 +33,7 @@ app.post(`${config.urlEndpoint}`, jsonParser, function(req, res, next) {
//const eth = bot.eth; //const eth = bot.eth;
//const from = config.sourceAddress; //const from = config.sourceAddress;
//const to = bot.getAddress(req); //const to = bot.getAddress(req);
const amount = config.getAmount(req); const amount = bot.getAmount(req);
const gasPrice = bot.getGasPrice(); const gasPrice = bot.getGasPrice();
console.log('amount: ', amount); console.log('amount: ', amount);
console.log('gasPrice: ', gasPrice); console.log('gasPrice: ', gasPrice);