nip57: include "e" tag.
This commit is contained in:
parent
929d62bbbb
commit
b39dac3551
1
nip57.ts
1
nip57.ts
|
@ -69,6 +69,7 @@ export function makeZapRequest(params: ProfileZap | EventZap): EventTemplate {
|
|||
}
|
||||
|
||||
if ('event' in params) {
|
||||
zr.tags.push(['e', params.event.id])
|
||||
if (isReplaceableKind(params.event.kind)) {
|
||||
const a = ['a', `${params.event.kind}:${params.event.pubkey}:`]
|
||||
zr.tags.push(a)
|
||||
|
|
Loading…
Reference in New Issue