diff --git a/client/network/src/service.rs b/client/network/src/service.rs index f97969f935134..2a3898b40af6a 100644 --- a/client/network/src/service.rs +++ b/client/network/src/service.rs @@ -2012,7 +2012,7 @@ fn webrtc_listen_address<'a>( } else { return addresses .filter(|x| { - x.iter().any(|y| matches!(y, libp2p::core::multiaddr::Protocol::XWebRTC(_))) + x.iter().any(|y| matches!(y, libp2p::core::multiaddr::Protocol::WebRTC)) }) .cloned() .next()