Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gossipsub): fix check for fanout peer inclusion in test_join
The check for fanout peer inclusion in `test_join` does not check anything since `new_peers` is always empty. https://github.com/libp2p/rust-libp2p/blob/12b785e94ede1e763dd041a107d3a00d5135a213/protocols/gossipsub/src/behaviour/tests.rs#L611 I assume the intention was to fill the `new_peers` with the fanout peers. In this MR I do just that. Pull-Request: #3628.
- Loading branch information