Merge pull request #28 from pablof7z/master

add P tag to tag sender
This commit is contained in:
believethehype
2024-01-01 00:54:33 +01:00
committed by GitHub
+1
View File
@@ -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)},
},