Fixing a Few Comment Typos (#236)
This commit is contained in:
parent
7b838cdeb2
commit
a58a39dae2
|
@ -10,7 +10,7 @@ function checkInvoice ({ boss, models, lnd }) {
|
||||||
inv = await getInvoice({ id: hash, lnd })
|
inv = await getInvoice({ id: hash, lnd })
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log(err)
|
console.log(err)
|
||||||
// on lnd related errors, we manually retry which so we don't exponentially backoff
|
// on lnd related errors, we manually retry so we don't exponentially backoff
|
||||||
await boss.send('checkInvoice', { hash }, walletOptions)
|
await boss.send('checkInvoice', { hash }, walletOptions)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,7 @@ function checkWithdrawal ({ boss, models, lnd }) {
|
||||||
if (err[1] === 'SentPaymentNotFound') {
|
if (err[1] === 'SentPaymentNotFound') {
|
||||||
notFound = true
|
notFound = true
|
||||||
} else {
|
} else {
|
||||||
// on lnd related errors, we manually retry which so we don't exponentially backoff
|
// on lnd related errors, we manually retry so we don't exponentially backoff
|
||||||
await boss.send('checkWithdrawal', { id, hash }, walletOptions)
|
await boss.send('checkWithdrawal', { id, hash }, walletOptions)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue