mirror of
https://github.com/waku-org/js-waku.git
synced 2025-01-12 21:44:33 +00:00
952aadd7bb
If we `continue` when the peer is already known by the `peerStore` then the next step of checking the tags is useless (no tags if peer is not known). There are two ways around it: 1. either do nothing if peer is already in peer store 2. OR, do nothing if peer is in peer store and is already tagged I opted for the second approach to ensure all peers are tagged properly.