upgrade compatibility for #1195
This commit is contained in:
parent
4fc832c7ed
commit
658fe73920
|
@ -118,6 +118,11 @@ async function checkInvoice ({ data: { hash }, boss, models, lnd }) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (dbInv.actionType) {
|
||||||
|
// this is an action invoice, we don't know how to handle yet
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if (inv.is_confirmed) {
|
if (inv.is_confirmed) {
|
||||||
// NOTE: confirm invoice prevents double confirmations (idempotent)
|
// NOTE: confirm invoice prevents double confirmations (idempotent)
|
||||||
// ALSO: is_confirmed and is_held are mutually exclusive
|
// ALSO: is_confirmed and is_held are mutually exclusive
|
||||||
|
|
Loading…
Reference in New Issue