diff --git a/client/network/src/service.rs b/client/network/src/service.rs index 533589eec96dc..62d8fa14331bf 100644 --- a/client/network/src/service.rs +++ b/client/network/src/service.rs @@ -464,7 +464,7 @@ where ) }; let builder = builder - .substream_upgrade_protocol_override(upgrade::Version::V1Lazy) + .substream_upgrade_protocol_override(upgrade::Version::V1) .notify_handler_buffer_size(NonZeroUsize::new(32).expect("32 != 0; qed")) // NOTE: 24 is somewhat arbitrary and should be tuned in the future if necessary. // See diff --git a/client/network/src/transport.rs b/client/network/src/transport.rs index 4136b34fc0e8e..47de8ac999333 100644 --- a/client/network/src/transport.rs +++ b/client/network/src/transport.rs @@ -96,7 +96,7 @@ pub fn build_transport( }; let transport = transport - .upgrade(upgrade::Version::V1Lazy) + .upgrade(upgrade::Version::V1) .authenticate(authentication_config) .multiplex(multiplexing_config) .timeout(Duration::from_secs(20))