aboutsummaryrefslogtreecommitdiffstats
path: root/routes/lnurl.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-09-29 21:47:18 -0700
committerAdam Soltys <[email protected]>2025-09-29 21:50:57 -0700
commit481dec5b1cfa2a085dda500ce0c390b38cb4a8b0 (patch)
tree892efd033af9e889ca60cb816183deb0f2e8c2ef /routes/lnurl.ts
parentc901c9571ff9406188a8bbb68c701ad3b21c24eb (diff)
downloadcoinos-server-481dec5b1cfa2a085dda500ce0c390b38cb4a8b0.tar.gz
coinos-server-481dec5b1cfa2a085dda500ce0c390b38cb4a8b0.zip
rotate server key
Diffstat (limited to 'routes/lnurl.ts')
-rw-r--r--routes/lnurl.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/routes/lnurl.ts b/routes/lnurl.ts
index 239da2bd..729cca58 100644
--- a/routes/lnurl.ts
+++ b/routes/lnurl.ts
@@ -1,7 +1,7 @@
import { db, g, s } from "$lib/db";
import { generate } from "$lib/invoices";
import { err, warn } from "$lib/logging";
-import { serverPubkey } from "$lib/nostr";
+import { serverPubkey2 } from "$lib/nostr";
import { SATS, bail, fail, getInvoice, getUser } from "$lib/utils";
import { bech32 } from "bech32";
import got from "got";
@@ -82,7 +82,7 @@ export default {
minSendable,
maxSendable,
metadata,
- nostrPubkey: serverPubkey,
+ nostrPubkey: serverPubkey2,
commentAllowed: 512,
callback: `${URL}/api/lnurl/${id}`,
tag: "payRequest",
@@ -220,7 +220,7 @@ export default {
minSendable: invoice.amount ? total : 1000,
maxSendable: invoice.amount ? total : 10 * 1000 * SATS,
metadata,
- nostrPubkey: serverPubkey,
+ nostrPubkey: serverPubkey2,
commentAllowed: 512,
callback: `${URL}/api/lnurl/${id}`,
tag: "payRequest",