aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/nwc.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nwc.ts b/lib/nwc.ts
index 434e0774..912a2fc3 100644
--- a/lib/nwc.ts
+++ b/lib/nwc.ts
@@ -113,7 +113,7 @@ const handle = (method, params, user, ev) =>
inv.payment_preimage = preimage;
inv.paid_at = Math.floor(Date.now() / 1000);
try {
- await handleZap(inv, pubkey);
+ await handleZap(inv, user.pubkey);
} catch (e) {
console.log("zap receipt failed", e);
}