From a7ed5c748742c0a98bc33b9e82c7662399d6e86b Mon Sep 17 00:00:00 2001 From: benthecarman Date: Mon, 19 Feb 2024 14:30:44 +0000 Subject: [PATCH] Make encrypt_private_zap_message pub --- crates/nostr/src/nips/nip57.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nostr/src/nips/nip57.rs b/crates/nostr/src/nips/nip57.rs index 6776cde3f..c0847f01d 100644 --- a/crates/nostr/src/nips/nip57.rs +++ b/crates/nostr/src/nips/nip57.rs @@ -311,7 +311,7 @@ pub fn create_encryption_key( Ok(SecretKey::from_slice(hash.as_byte_array())?) } -fn encrypt_private_zap_message( +pub fn encrypt_private_zap_message( rng: &mut R, secret_key: &SecretKey, public_key: &PublicKey,