Function ockam_api::is_local_node
source · pub fn is_local_node(ma: &MultiAddr) -> Result<bool>
Expand description
Tells whether the input MultiAddr references a local node or a remote node.
This should be called before cleaning the MultiAddr.