From 0f5721ee1adaf4995a716b1f6ef3e33caf723ad8 Mon Sep 17 00:00:00 2001 From: Hugo Trentesaux <hugo@trentesaux.fr> Date: Tue, 6 Jun 2023 15:11:43 +0200 Subject: [PATCH] clippy --- src/commands/smith.rs | 2 +- src/main.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/commands/smith.rs b/src/commands/smith.rs index a5f7a76..3c31171 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 82baddb..81166d8 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; -- GitLab