pub fn strip_peer_id(addresses: Vec<Multiaddr>) -> Vec<PeerAddress>
Expand description
Helper function. Converts multiaddresses to a tuple with peer ID removing the peer Id suffix. It logs incorrect multiaddresses.
pub fn strip_peer_id(addresses: Vec<Multiaddr>) -> Vec<PeerAddress>
Helper function. Converts multiaddresses to a tuple with peer ID removing the peer Id suffix. It logs incorrect multiaddresses.