aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-12-21 10:16:11 -0800
committerAdam Soltys <[email protected]>2024-12-21 10:16:11 -0800
commit335433882c74228ee421c39fcb4d1f93650bdaa1 (patch)
tree6cbf60d1557e433ee318650abf532c65c792eced /lib
parente53f8f175ccb467469d7c7fcc9b2f3ed3b980a8c (diff)
downloadcoinos-server-335433882c74228ee421c39fcb4d1f93650bdaa1.tar.gz
coinos-server-335433882c74228ee421c39fcb4d1f93650bdaa1.zip
unique offer description
Diffstat (limited to 'lib')
-rw-r--r--lib/invoices.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/invoices.ts b/lib/invoices.ts
index c892517c..f89266e2 100644
--- a/lib/invoices.ts
+++ b/lib/invoices.ts
@@ -90,7 +90,7 @@ export const generate = async ({ invoice, user }) => {
const r = await ln.offer({
amount: amount ? `${amount + tip}sat` : "any",
label: id,
- description: memo || "",
+ description: id,
});
hash = r.bolt12;