pub(crate) fn strip_peer_id(addr: &mut Multiaddr)
Expand description
for a multiaddr that ends with a peer id, this strips this suffix. Rust-libp2p only supports dialing to an address without providing the peer id.
pub(crate) fn strip_peer_id(addr: &mut Multiaddr)
for a multiaddr that ends with a peer id, this strips this suffix. Rust-libp2p only supports dialing to an address without providing the peer id.