Skip to content

Conversation

reject-i
Copy link
Contributor

Fix copy-paste bug in test_peer_rotation where second_peer assertion was incorrectly checking first_peer variable instead of second_peer. This test validates peer switching logic when one peer becomes unavailable, and the incorrect assertion could have masked real bugs in the peer selection algorithm.

https://github.com/paradigmxyz/reth/blob/main/crates/net/network/src/fetch/mod.rs#L518

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant