From 107199bd9cde3fa0ba6e66b110b954c17f04df38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Stuczy=C5=84ski?= Date: Tue, 30 Jul 2024 11:43:02 +0100 Subject: [PATCH] clippy --- .../websocket/connection_handler/ecash/double_spending.rs | 1 - nym-api/src/ecash/state/mod.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/gateway/src/node/client_handling/websocket/connection_handler/ecash/double_spending.rs b/gateway/src/node/client_handling/websocket/connection_handler/ecash/double_spending.rs index d2c2859fd8..a8cebdaf7b 100644 --- a/gateway/src/node/client_handling/websocket/connection_handler/ecash/double_spending.rs +++ b/gateway/src/node/client_handling/websocket/connection_handler/ecash/double_spending.rs @@ -10,7 +10,6 @@ use nym_validator_client::client::NymApiClientExt; use nym_validator_client::EcashApiClient; use rand::prelude::SliceRandom; use rand::thread_rng; -use std::ops::Deref; use std::sync::Arc; use tokio::sync::{RwLock, RwLockReadGuard}; use tokio::time::{interval, Duration}; diff --git a/nym-api/src/ecash/state/mod.rs b/nym-api/src/ecash/state/mod.rs index 1a80d86a18..b55117ea1e 100644 --- a/nym-api/src/ecash/state/mod.rs +++ b/nym-api/src/ecash/state/mod.rs @@ -47,7 +47,6 @@ use nym_validator_client::EcashApiClient; use time::ext::NumericalDuration; use time::{Date, Duration, OffsetDateTime}; use tokio::sync::RwLockReadGuard; -use tokio::time::Instant; pub(crate) mod auxiliary; pub(crate) mod bloom;