Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added support for zapping replaceable events #424

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bitcoinpirate
Copy link

fixes #291

I tried to keep it backwards compatible by allowing the event id and the event object.

@fiatjaf
Copy link
Collaborator

fiatjaf commented Aug 4, 2024

This code isn't zapping the replaceable event itself, but another replaceable events referenced by the target. To zap the replaceable event you would have to check if the target is replaceable, then build your own a tag from its kind, pubkey and d tag.

@bitcoinpirate bitcoinpirate marked this pull request as draft August 4, 2024 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for zapping replaceable events
2 participants