Open stefanhans opened 5 years ago
Can you elaborate?
Do you mean the same host calling Provide
followed by FindProviders
can't see it's own addresses in the list?
Hi @upperwal,
I have elaborated it. Here is what I found:
host.Peerstore().SetAddrs(host.ID(), host.Addrs(), peerstore.ConnectedAddrTTL)
is needed to set the addresses in the peerstore.
Cheers, Stefan
After the host with its
[]ma.Multiaddr
addresses werekadDht.Provide
provided andkadDht.FindProviders
found again by the same host the addresses were lost