diff --git a/Cargo.lock b/Cargo.lock index dcb91d2c4a..095ef5e647 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2310,6 +2310,7 @@ dependencies = [ "thiserror", "tokio 0.2.22", "tonic", + "tungstenite", "url", "yaml-rust", ] diff --git a/jormungandr/src/notifier/mod.rs b/jormungandr/src/notifier/mod.rs index 1a231ee6b0..5375b3f3fc 100644 --- a/jormungandr/src/notifier/mod.rs +++ b/jormungandr/src/notifier/mod.rs @@ -4,7 +4,6 @@ use crate::utils::task::TokioServiceInfo; use chain_impl_mockchain::header::HeaderId; use futures::{select, SinkExt, StreamExt}; use jormungandr_lib::interfaces::notifier::JsonMessage; -use slog::Logger; use std::marker::PhantomData; use std::sync::atomic::{AtomicUsize, Ordering}; use std::sync::Arc; diff --git a/jormungandr/src/rest/v1/mod.rs b/jormungandr/src/rest/v1/mod.rs index 9a415a7086..eeb59017ab 100644 --- a/jormungandr/src/rest/v1/mod.rs +++ b/jormungandr/src/rest/v1/mod.rs @@ -30,7 +30,7 @@ pub fn filter( let logs = warp::path!("logs") .and(warp::get()) - .and(with_context) + .and(with_context.clone()) .and_then(handlers::get_fragments_logs) .boxed();