From b20005cf30453a5e39f47146387ee4a20c092f41 Mon Sep 17 00:00:00 2001 From: Dan <danielarturomt@gmail.com> Date: Thu, 1 Aug 2024 19:24:12 +0100 Subject: [PATCH] style: add clippy suggestions --- znap-cli/src/utils/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/znap-cli/src/utils/mod.rs b/znap-cli/src/utils/mod.rs index 59cb533..4e338eb 100644 --- a/znap-cli/src/utils/mod.rs +++ b/znap-cli/src/utils/mod.rs @@ -192,7 +192,7 @@ pub fn get_identity_keypair(config: &Config, collection: &Collection) -> Keypair let envs = get_envs(config, collection, None, None, None); match envs.get("IDENTITY_KEYPAIR") { - Some(keypair) => Keypair::from_base58_string(&keypair), + Some(keypair) => Keypair::from_base58_string(keypair), _ => match envs.get("IDENTITY_KEYPAIR_PATH") { Some(path) => { let keypair_file = std::fs::read_to_string(path).unwrap();