docs: fix discv5 multiaddr peer id conversion comment (#20743)

This commit is contained in:
kurahin
2026-01-05 13:22:32 +02:00
committed by GitHub
parent 480029a678
commit a79432ffc6

View File

@@ -24,7 +24,7 @@ pub fn discv4_id_to_discv5_id(peer_id: PeerId) -> Result<NodeId, secp256k1::Erro
Ok(id2pk(peer_id)?.into())
}
/// Converts a [`PeerId`] to a [`reth_network_peers::PeerId`].
/// Converts a [`PeerId`] to a [`discv5::libp2p_identity::PeerId`].
pub fn discv4_id_to_multiaddr_id(
peer_id: PeerId,
) -> Result<discv5::libp2p_identity::PeerId, secp256k1::Error> {