getAmount functions is now a bot function
This commit is contained in:
parent
7f353ce0c3
commit
3c512298c2
2
index.js
2
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);
|
||||
|
|
Loading…
Reference in New Issue