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

Make encrypt_private_zap_message pub #299

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

benthecarman
Copy link
Contributor

@benthecarman benthecarman commented Feb 19, 2024

Working on adding public/private zaps for mutiny. Since we support the NIP-07 signer we need to be able to create private zap events manually, to do so we need this function public.

Also would like to make it so private_zap_request doesn't take in a &Keys, seems like it is only needed for create_encryption_key but don't really see why it is done that way, could just use Keys::generate, I guess the main reason is so we can decrypt it ourself

Copy link
Member

@yukibtc yukibtc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 5bc7193

@yukibtc yukibtc merged commit e669327 into rust-nostr:master Feb 19, 2024
6 checks passed
@benthecarman benthecarman deleted the private-zaps branch February 19, 2024 15:29
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.

2 participants