aboutsummaryrefslogtreecommitdiffstats
path: root/lib/nwc.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-15 22:49:17 +0000
committerAdam Soltys <[email protected]>2026-03-15 22:49:17 +0000
commit74af7b1d0922e740c0358dfd131776fd7c877767 (patch)
treee1e8e0cf566c1de7b48863ec6d0790b5632b2e71 /lib/nwc.ts
parentf87b082c14869c4934b4e5fc7ff4b8066a84ed8d (diff)
downloadcoinos-server-regtest-data.tar.gz
coinos-server-regtest-data.zip
adjust ln minfeeregtest-data
Diffstat (limited to 'lib/nwc.ts')
-rw-r--r--lib/nwc.ts10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/nwc.ts b/lib/nwc.ts
index c888ee55..facf9dc8 100644
--- a/lib/nwc.ts
+++ b/lib/nwc.ts
@@ -185,14 +185,6 @@ const handle = (method, params, ev, app, user) =>
);
if (!created) {
- warn(
- "old nwc token",
- pubkey,
- user?.username,
- spent,
- amount,
- max_amount,
- );
return error({
code: "UNAUTHORIZED",
message: `This NWC connection is no longer valid please create a new one at https://coinos.io/settings/nostr`,
@@ -334,7 +326,7 @@ const handle = (method, params, ev, app, user) =>
async make_invoice() {
const { amount, description, description_hash, expiry } = params;
- l("nwc make_invoice", user.username);
+ // l("nwc make_invoice", user.username);
const invoice = {
amount: Math.round(amount / 1000),