pub fn enr_to_peer_id(enr: Enr<SigningKey<Secp256k1>>) -> FixedBytes<64>Expand description
Obtains a PeerId from an ENR. In this case, the PeerId represents the public key contained
in the ENR.
pub fn enr_to_peer_id(enr: Enr<SigningKey<Secp256k1>>) -> FixedBytes<64>Obtains a PeerId from an ENR. In this case, the PeerId represents the public key contained
in the ENR.