mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-12-24 23:55:18 +00:00
Handle rare peerstore refresh case
On rare occasions, the peer store removes an address directly after successfully polling for it
This commit is contained in:
parent
bb71c38a39
commit
443612ac9b
@ -415,7 +415,7 @@ func (b *BlossomSub) GetMultiaddrOfPeer(peerId []byte) string {
|
||||
return ""
|
||||
}
|
||||
|
||||
return b.h.Peerstore().Addrs(peer.ID(peerId))[0].String()
|
||||
return addrs[0].String()
|
||||
}
|
||||
|
||||
func (b *BlossomSub) StartDirectChannelListener(
|
||||
|
Loading…
Reference in New Issue
Block a user