aboutsummaryrefslogtreecommitdiffstats
path: root/lib/invoices.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/invoices.ts')
-rw-r--r--lib/invoices.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/invoices.ts b/lib/invoices.ts
index 2d9d82ad..e461c1a7 100644
--- a/lib/invoices.ts
+++ b/lib/invoices.ts
@@ -129,6 +129,7 @@ export const generate = async ({ invoice, user }) => {
address_type ||= "bech32";
hash = await bc.getNewAddress({ address_type });
text = bip21(hash, invoice);
+ await db.sAdd("watching", hash);
} else if (type === PaymentType.liquid) {
address_type ||= "blech32";
hash = await lq.getNewAddress({ address_type });