pub fn discv4_id_to_discv5_id(peer_id: PeerId) -> Result<NodeId, Error>
Converts a PeerId to a enr::NodeId.
PeerId
enr::NodeId