Big P tag from zapper

This commit is contained in:
2023-12-31 12:57:56 +00:00
parent 053d34cde7
commit 5b5f011df0

View File

@ -34,9 +34,10 @@ public class ZapService
var key = _config.GetPrivateKey();
var pubKey = key.DerivePublicKey().Hex;
var tags = zapNote.Tags!.Where(a => a.TagIdentifier?.Length == 1).ToList();
var tags = zapNote.Tags!.Where(a => a.TagIdentifier.Length == 1).ToList();
tags.Add(new("bolt11", pr));
tags.Add(new("description", zapRequest));
tags.Add(new("P", zapNote.Pubkey!));
var zapReceipt = new NostrEvent()
{