Skip to content
Unverified Commit bb8c7a3b authored by Alexandru Vasile's avatar Alexandru Vasile Committed by GitHub
Browse files

net/discovery: Do not propagate external addr with different peerIDs (#6380)



This PR ensures that external addresses with different PeerIDs are not
propagated to the higher layer of the network code.

While at it, this ensures that libp2p only adds the `/p2p/peerid` part
to the discovered address if it does not contain it already.

This is a followup from:
- https://github.com/paritytech/polkadot-sdk/pull/6298

cc @paritytech/networking

---------

Signed-off-by: default avatarAlexandru Vasile <[email protected]>
Co-authored-by: default avatarDmitry Markin <[email protected]>
parent 8c146a7c
Pipeline #504727 waiting for manual action with stages
in 15 minutes and 39 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment