Skip to content

Commit

Permalink
Merge pull request #28 from pablof7z/master
Browse files Browse the repository at this point in the history
add P tag to tag sender
  • Loading branch information
believethehype authored Dec 31, 2023
2 parents adc8abd + 444a02f commit a6f74ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nostr.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)},
},
Expand Down

0 comments on commit a6f74ec

Please sign in to comment.