diff --git a/notification-server/src/bin/server.rs b/notification-server/src/bin/server.rs index 75732040..9574dd9e 100644 --- a/notification-server/src/bin/server.rs +++ b/notification-server/src/bin/server.rs @@ -10,7 +10,7 @@ use serde::Deserialize; use std::sync::Arc; use tokio_postgres::Config; use tracing::info; -use tracing_subscriber; + #[derive(Debug, Parser)] struct Args { diff --git a/notification-server/src/bin/service.rs b/notification-server/src/bin/service.rs index 591b06d9..872dba57 100644 --- a/notification-server/src/bin/service.rs +++ b/notification-server/src/bin/service.rs @@ -47,7 +47,7 @@ fn get_cis2_events_addresses(effects: &AccountTransactionEffects) -> Option Some(amount.to_string()), _ => None, }) - .filter(|t| Option::is_some(t)) + .filter(Option::is_some) .collect(), _ => None, })