Skip to content

Commit

Permalink
upgrade compatibility for #1195
Browse files Browse the repository at this point in the history
  • Loading branch information
huumn committed Jun 29, 2024
1 parent 4fc832c commit 658fe73
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions worker/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ async function checkInvoice ({ data: { hash }, boss, models, lnd }) {
return
}

if (dbInv.actionType) {
// this is an action invoice, we don't know how to handle yet
return
}

if (inv.is_confirmed) {
// NOTE: confirm invoice prevents double confirmations (idempotent)
// ALSO: is_confirmed and is_held are mutually exclusive
Expand Down

0 comments on commit 658fe73

Please sign in to comment.