From abab34573e0629c4a6ce9869cb5aa87d01716bcc Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Thu, 6 Feb 2020 09:52:21 +0100 Subject: [PATCH] Remove unused method Forgot to do this earlier. --- src/key.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/key.rs b/src/key.rs index 8cfc017dd..e543b40c6 100644 --- a/src/key.rs +++ b/src/key.rs @@ -197,15 +197,6 @@ impl Key { } } - // pub fn from_base64(encoded_data: &str, key_type: KeyType) -> Option { - // // strip newlines and other whitespace - // let cleaned: String = encoded_data.trim().split_whitespace().collect(); - // let bytes = cleaned.as_bytes(); - // base64::decode(bytes) - // .ok() - // .and_then(|decoded| Self::from_slice(&decoded, key_type)) - // } - pub fn from_self_public( context: &Context, self_addr: impl AsRef,