diff options
Diffstat (limited to 'lib/invoices.ts')
| -rw-r--r-- | lib/invoices.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/invoices.ts b/lib/invoices.ts index 15de0687..c5194ce3 100644 --- a/lib/invoices.ts +++ b/lib/invoices.ts @@ -100,6 +100,7 @@ export const generate = async ({ invoice, user }) => { account.nextIndex = nextIndex + 1; await s(`account:${aid}`, account); await s(`invoice:${hash}`, id); + await db.sAdd("watching", hash); } else if (type === PaymentType.lightning) { let r; if (bolt11) { |
