mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-28 17:21:34 +00:00
Remove the Send + 'static requirements for floodsub (#637)
This commit is contained in:
@ -174,7 +174,7 @@ impl<TSubstream> FloodsubBehaviour<TSubstream> {
|
||||
|
||||
impl<TSubstream> NetworkBehavior for FloodsubBehaviour<TSubstream>
|
||||
where
|
||||
TSubstream: AsyncRead + AsyncWrite + Send + Sync + 'static,
|
||||
TSubstream: AsyncRead + AsyncWrite,
|
||||
{
|
||||
type ProtocolsHandler = FloodsubHandler<TSubstream>;
|
||||
type OutEvent = FloodsubMessage;
|
||||
|
Reference in New Issue
Block a user