fix
This commit is contained in:
parent
7f414d1d55
commit
87572cd499
@ -101,7 +101,7 @@ withdrawQueue.process(async function(job, done){
|
|||||||
|
|
||||||
gas += 50000
|
gas += 50000
|
||||||
const ethPrices = fetcher.ethPrices
|
const ethPrices = fetcher.ethPrices
|
||||||
const { isEnough, reason } = isEnoughFee({ gas, gasPrices, currency, amount, refund, ethPrices, fee: toBN(fee) })
|
const { isEnough, reason } = isEnoughFee({ gas, gasPrices, currency, amount, refund: toBN(refund), ethPrices, fee: toBN(fee) })
|
||||||
if (!isEnough) {
|
if (!isEnough) {
|
||||||
console.log(`Wrong fee: ${reason}`)
|
console.log(`Wrong fee: ${reason}`)
|
||||||
done(null, {
|
done(null, {
|
||||||
|
Loading…
Reference in New Issue
Block a user