aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-03-08 07:50:37 -0800
committerAdam Soltys <[email protected]>2025-03-08 07:50:42 -0800
commit619ed8f57cf83a9cc5e2fbe058b1e60c730186c7 (patch)
treed2540d844bcbbcc02973e095b60c6c38d694dfb7
parentb44b1096a58d07a5101126dcf0756493d940b12c (diff)
downloadcoinos-server-619ed8f57cf83a9cc5e2fbe058b1e60c730186c7.tar.gz
coinos-server-619ed8f57cf83a9cc5e2fbe058b1e60c730186c7.zip
fix get_info
-rw-r--r--lib/nwc.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nwc.ts b/lib/nwc.ts
index a5a25d87..26ca0fe4 100644
--- a/lib/nwc.ts
+++ b/lib/nwc.ts
@@ -24,7 +24,6 @@ const methods = [
"make_invoice",
"lookup_invoice",
"list_transactions",
- "notifications",
];
const week = 7 * 24 * 60 * 60;
@@ -257,6 +256,7 @@ const handle = (method, params, ev, app, user) =>
pubkey: id,
network: "mainnet",
methods,
+ notifications: ["payment_received", "payment_sent"],
});
},