From c1cd79795a5ac42e2a6071187ce8325ba355d4d4 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 31 Jul 2025 21:17:04 -0700 Subject: leave minSendable undefined if no amount --- routes/lnurl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/lnurl.ts b/routes/lnurl.ts index dc51e8fc..59cc58e1 100644 --- a/routes/lnurl.ts +++ b/routes/lnurl.ts @@ -215,7 +215,7 @@ export default { res.send({ allowsNostr: true, - minSendable: total, + minSendable: invoice.amount ? total : undefined, maxSendable: invoice.amount ? total : undefined, metadata, nostrPubkey: serverPubkey, -- cgit v1.2.3