From 444a02fcca310070ffc8edb72784bae0e8e99ff7 Mon Sep 17 00:00:00 2001 From: Pablo Fernandez
Date: Sun, 31 Dec 2023 23:01:28 +0000 Subject: [PATCH] add P tag to tag sender --- nostr.go | 1 + 1 file changed, 1 insertion(+) diff --git a/nostr.go b/nostr.go index ba43499..5c87fd4 100644 --- a/nostr.go +++ b/nostr.go @@ -400,6 +400,7 @@ func CreateNostrReceipt(zapEvent nostr.Event, invoice string) (nostr.Event, erro Kind: 9735, Tags: nostr.Tags{ *zapEvent.Tags.GetFirst([]string{"p"}), + []string{"P", zapEvent.PubKey}, []string{"bolt11", invoice}, []string{"description", string(zapEventSerialized)}, },