aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routes/lnurl.ts2
1 files changed, 1 insertions, 1 deletions
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,