aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/nostr.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nostr.ts b/lib/nostr.ts
index 4fb92b86..a4735822 100644
--- a/lib/nostr.ts
+++ b/lib/nostr.ts
@@ -87,7 +87,7 @@ export async function handleZap(invoice, sender = undefined) {
const tags = [ptag];
if (etag) tags.push(etag);
if (atag) tags.push(atag);
- if (sender) tags.push(["P", sender]);
+ if (sender) tags.push(["P", zapreq.pubkey]);
tags.push(["bolt11", invoice.bolt11]);
tags.push(["description", invoice.description]);