Function polkadot_node_network_protocol::request_response::network::parse_addr
source ยท pub fn parse_addr(addr: Multiaddr) -> Result<(PeerId, Multiaddr), ParseErr>
Expand description
Splits a Multiaddress into a Multiaddress and PeerId.