Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add peers with errors to swarm.peers definition
js-ipfs-api can encounter individual peer info objects that have newer multiaddrs or, in theory, a new format for PeerId that it cannot parse. Allowing for individiual peerInfo validation errors allows us to return a response which has the right number of peers in, and peerId and multiaddr info for all the other peers that could be validated, along with a info about peers that failed to validate. See: ipfs-inactive/js-ipfs-http-client#887
- Loading branch information