fix: dont error out on unknown addrs in peer info
@@ -29,10 +29,9 @@ func peerToPeerInfo(p *pb.CircuitRelay_Peer) (pstore.PeerInfo, error) {
for i := 0; i < len(addrs); i++ {
a, err := ma.NewMultiaddrBytes(p.Addrs[i])
if err != nil {
- return pstore.PeerInfo{}, err
- }
addrs[i] = a
}
+ }
return pstore.PeerInfo{ID: peer.ID(h), Addrs: addrs}, nil
}
