From 7ef735c7da6f22af93be974442ef381b4036c5c2 Mon Sep 17 00:00:00 2001 From: Al Liu Date: Tue, 6 Feb 2024 14:16:45 +0800 Subject: [PATCH] fix clippy --- nodes/explorer/src/api_backend/da.rs | 1 - nodes/explorer/src/config.rs | 2 +- nodes/explorer/src/main.rs | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/nodes/explorer/src/api_backend/da.rs b/nodes/explorer/src/api_backend/da.rs index a68c8a2a..b9f70ff0 100644 --- a/nodes/explorer/src/api_backend/da.rs +++ b/nodes/explorer/src/api_backend/da.rs @@ -2,7 +2,6 @@ use axum::extract::{Json, State}; use axum::response::Response; use nomos_node::make_request_and_return_response; -use serde::{Deserialize, Serialize}; // internal use full_replication::Blob; use nomos_api::http::da::da_blobs; diff --git a/nodes/explorer/src/config.rs b/nodes/explorer/src/config.rs index a12ffdb1..b10cb7b1 100644 --- a/nodes/explorer/src/config.rs +++ b/nodes/explorer/src/config.rs @@ -4,7 +4,7 @@ use eyre::{eyre, Result}; use nomos_api::ApiService; use nomos_log::{Logger, LoggerBackend, LoggerFormat}; use nomos_node::config::LoggerBackendType; -use nomos_node::{DataAvailability, HttpArgs, LogArgs, Tx, Wire}; +use nomos_node::{HttpArgs, LogArgs, Tx, Wire}; use overwatch_rs::services::ServiceData; use serde::{Deserialize, Serialize}; use tracing::Level; diff --git a/nodes/explorer/src/main.rs b/nodes/explorer/src/main.rs index 5fc61e04..8dd3b66b 100644 --- a/nodes/explorer/src/main.rs +++ b/nodes/explorer/src/main.rs @@ -11,7 +11,7 @@ use overwatch_rs::Services; use crate::api_backend::AxumBackend; use crate::config::{ApiArgs, Config}; use nomos_log::Logger; -use nomos_node::{DataAvailability, LogArgs, Tx, Wire}; +use nomos_node::{LogArgs, Tx, Wire}; use nomos_storage::backends::sled::SledBackendSettings; use nomos_storage::{backends::sled::SledBackend, StorageService};