aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-07-31 21:17:04 -0700
committerAdam Soltys <[email protected]>2025-07-31 21:17:04 -0700
commitc1cd79795a5ac42e2a6071187ce8325ba355d4d4 (patch)
treeb214b8ab6ff5c396bc1e976031ed383dc96446a0
parente663cb2f70dbba6cdc7f100bf30e3d4a521c6e6d (diff)
downloadcoinos-server-c1cd79795a5ac42e2a6071187ce8325ba355d4d4.tar.gz
coinos-server-c1cd79795a5ac42e2a6071187ce8325ba355d4d4.zip
leave minSendable undefined if no amount
-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,