From 619ed8f57cf83a9cc5e2fbe058b1e60c730186c7 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 8 Mar 2025 07:50:37 -0800 Subject: fix get_info --- lib/nwc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"], }); }, -- cgit v1.2.3