diff --git a/node/p2p/blossomsub.go b/node/p2p/blossomsub.go index 4e3cbe8..ac5e929 100644 --- a/node/p2p/blossomsub.go +++ b/node/p2p/blossomsub.go @@ -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(