hopr_lib

Function decapsulate_multiaddress

Source
pub fn decapsulate_multiaddress(multiaddr: Multiaddr) -> Multiaddr
Expand description

Decapsulates the multiaddress (= strips the /p2p/<peer_id> suffix). If it is already decapsulated, the function is an identity.