diff --git a/substrate/client/network/common/src/service.rs b/substrate/client/network/common/src/service.rs index 0fff32b12d66c629bcd3fd3f19ce228043feedd5..6df99acf0bdfd7f9f1ae83345414cdc700d94cc4 100644 --- a/substrate/client/network/common/src/service.rs +++ b/substrate/client/network/common/src/service.rs @@ -387,7 +387,7 @@ pub trait NotificationSenderReady { /// A `NotificationSender` allows for sending notifications to a peer with a chosen protocol. #[async_trait::async_trait] -pub trait NotificationSender { +pub trait NotificationSender: Send + Sync + 'static { /// Returns a future that resolves when the `NotificationSender` is ready to send a /// notification. async fn ready(&self)