Skip to content

Commit

Permalink
Make encrypt_private_zap_message pub
Browse files Browse the repository at this point in the history
  • Loading branch information
benthecarman committed Feb 19, 2024
1 parent 4ebdb88 commit a7ed5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/nostr/src/nips/nip57.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ pub fn create_encryption_key(
Ok(SecretKey::from_slice(hash.as_byte_array())?)
}

fn encrypt_private_zap_message<R, T>(
pub fn encrypt_private_zap_message<R, T>(
rng: &mut R,
secret_key: &SecretKey,
public_key: &PublicKey,
Expand Down

0 comments on commit a7ed5c7

Please sign in to comment.