nip57: implement "P" tag for sender.

This commit is contained in:
fiatjaf
2024-01-01 11:39:01 -03:00
parent 4cfc67e294
commit 498c1603b0
3 changed files with 12 additions and 12 deletions

View File

@@ -119,7 +119,7 @@ export function makeZapReceipt({
kind: 9735,
created_at: Math.round(paidAt.getTime() / 1000),
content: '',
tags: [...tagsFromZapRequest, ['bolt11', bolt11], ['description', zapRequest]],
tags: [...tagsFromZapRequest, ['P', zr.pubkey], ['bolt11', bolt11], ['description', zapRequest]],
}
if (preimage) {