diff --git a/src/commands/smith.rs b/src/commands/smith.rs
index a5f7a76b38a93f910ae075f7850e65f6a1509d74..3c31171540f90b0843b4bdf45858bc5d5500fe13 100644
--- a/src/commands/smith.rs
+++ b/src/commands/smith.rs
@@ -37,7 +37,7 @@ pub async fn set_session_keys(
 }
 
 pub async fn update_session_keys(pair: Pair, client: &Client) -> Result<()> {
-	let session_keys = rotate_keys(&client).await?;
+	let session_keys = rotate_keys(client).await?;
 	set_session_keys(pair, client, session_keys).await
 }
 
diff --git a/src/main.rs b/src/main.rs
index 82baddb16b820a9d915c1c19cc912dc5d5772d08..81166d86bd7bedc02808bf85de4b6b822d20d058 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -7,7 +7,6 @@ mod keys;
 
 use clap::Parser;
 use codec::Encode;
-use confy;
 use data::*;
 use keys::*;
 use serde::Deserialize;