Function reth_network::test_utils::enr_to_peer_id
source ยท pub fn enr_to_peer_id(enr: Enr<SigningKey>) -> PeerId
Available on crate feature
test-utils
only.Expand description
Obtains a PeerId
from an ENR. In this case, the PeerId
represents the public key contained
in the ENR.