Skip to content
Unverified Commit ac708a68 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 4a340722
Pipeline #504704 waiting for manual action with stages
in 37 minutes and 38 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