Commit 1536433f authored by vyzo's avatar vyzo
Browse files

use TempAddrTTL for relay addrs

parent c52f4523
......@@ -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.
......
Markdown is supported
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