diff --git a/p2p/host/routed/routed.go b/p2p/host/routed/routed.go index 97b58a9f6..d92153689 100644 --- a/p2p/host/routed/routed.go +++ b/p2p/host/routed/routed.go @@ -102,7 +102,7 @@ func (rh *RoutedHost) Connect(ctx context.Context, pi pstore.PeerInfo) error { continue } - rh.Peerstore().AddAddrs(relayID, relayAddrs, pstore.AddressTTL) + rh.Peerstore().AddAddrs(relayID, relayAddrs, pstore.TempAddrTTL) } // if we're here, we got some addrs. let's use our wrapped host to connect.