mirror of
https://github.com/status-im/autobounty.git
synced 2025-02-27 12:30:42 +00:00
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 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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user