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 })
|
||||
} catch (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)
|
||||
return
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ function checkWithdrawal ({ boss, models, lnd }) {
|
|||
if (err[1] === 'SentPaymentNotFound') {
|
||||
notFound = true
|
||||
} 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)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue