From bd5b110e8af4420381227661485d560f53e0d9ae Mon Sep 17 00:00:00 2001 From: link2xt Date: Mon, 8 Jun 2026 00:23:04 +0200 Subject: [PATCH 1/3] refactor: remove Context argument from secret_key_to_public_key() --- src/key.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/key.rs b/src/key.rs index ff088a1c54..437db40d5d 100644 --- a/src/key.rs +++ b/src/key.rs @@ -124,13 +124,11 @@ pub trait DcKey: Serialize + Deserializable + Clone { /// Converts secret key to public key. pub(crate) fn secret_key_to_public_key( - context: &Context, mut signed_secret_key: SignedSecretKey, timestamp: u32, addr: &str, relay_addrs: &str, ) -> Result { - info!(context, "Converting secret key to public key."); let timestamp = pgp::types::Timestamp::from_secs(timestamp); // Subpackets that we want to share between DKS and User ID signature. @@ -298,7 +296,7 @@ pub(crate) async fn load_self_public_key_opt(context: &Context) -> Result