mirror of
https://github.com/libp2p/go-libp2p.git
synced 2025-09-26 20:21:26 +08:00

* autonat: fix interaction with autorelay * Fix race in test * Use deadline from context if available for DialBack * Return hasNewAddrs correctly * nit: cleanup contains check * Shuffle peers * nits * Change comment to indicate the bug * holepuncher: pass address function in constructor (#2979) * holepunch: pass address function in constructor * nit * Remove getPublicAddrs --------- Co-authored-by: Marco Munizaga <git@marcopolo.io> * Make a copy of the multiaddr slice in Addrs() --------- Co-authored-by: Marco Munizaga <git@marcopolo.io>